🖱️ Interactive Learning Mode — edit the formula, then Run Lesson

Excel Formula Basic → Advanced Educational Course

Learn formulas from simple calculations to XLOOKUP, dynamic arrays, financial functions, LET, LAMBDA and practical dashboards.

Easy Reading Mode • You can select, copy and print this course
START HERE

How Excel Formulas Work

A formula starts with = and can contain functions, cell references, constants and operators. Excel recalculates formulas when referenced values change. citeturn477179search0turn477179search10

Microsoft documents Excel functions by category and notes that Excel has hundreds of built-in functions. This course therefore provides a broad practical Basic → Advanced library rather than claiming to reproduce every function in existence. citeturn477179search3turn477179search7
STEP 1

What is an Excel Formula?

Excel formulas calculate values or perform actions in worksheet cells. Every formula starts with =.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 2

Cell References

Use cell references instead of hard-coded values so a formula updates when the source cells change.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 3

Range References

A range such as A1:A10 lets a formula work across multiple cells.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 4

Relative References

Relative references change when a formula is copied to another cell.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 5

Absolute References

Use $ to lock a row, column, or both when copying formulas.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 6

Mixed References

Lock only the row or column when that is what the formula design requires.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 7

Arithmetic Operators

Use +, -, *, / and ^ for calculations.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 8

SUM and AVERAGE

SUM totals values; AVERAGE returns the arithmetic mean.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 9

MIN, MAX and MEDIAN

Find the smallest, largest, and middle value of a dataset.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 10

COUNT Family

COUNT counts numbers, COUNTA counts non-empty cells, and COUNTBLANK counts blank cells.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 11

ROUND Family

ROUND, ROUNDUP, and ROUNDDOWN control numeric rounding.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 12

ABS, MOD and QUOTIENT

Use ABS for absolute value, MOD for a remainder, and QUOTIENT for integer division.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 13

SUMIF and SUMIFS

Add values that meet one or multiple conditions.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 14

COUNTIF and COUNTIFS

Count values that meet one or multiple criteria.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 15

AVERAGEIF and AVERAGEIFS

Average values meeting one or multiple conditions.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 16

IF

IF returns one value when a condition is TRUE and another when it is FALSE.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 17

IFS and SWITCH

IFS handles ordered conditions; SWITCH is useful when matching an expression to cases.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 18

AND, OR and NOT

Combine logical tests with AND, OR, and NOT.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 19

IFERROR and IFNA

Replace error results with a controlled message or value.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 20

Text Cleaning

TRIM removes extra spaces; CLEAN removes many non-printing characters.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 21

Text Case

UPPER, LOWER, and PROPER adjust text case.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 22

LEFT, RIGHT and MID

Extract text from the left, right, or middle of a cell.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 23

FIND and SEARCH

FIND is case-sensitive; SEARCH is generally case-insensitive.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 24

CONCAT and TEXTJOIN

Combine text from cells and ranges.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 25

SUBSTITUTE and REPLACE

Replace matching text or characters at specific positions.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 26

TEXT Formatting

Convert values into formatted text.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 27

TODAY, NOW and DATE

Work with current dates/times and construct dates.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 28

YEAR, MONTH, DAY and WEEKDAY

Extract components from dates.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 29

EDATE and EOMONTH

Move dates by months or calculate month-end dates.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 30

NETWORKDAYS and WORKDAY

Calculate workdays and workday-based dates.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 31

XLOOKUP

XLOOKUP searches a range/array and returns a corresponding value. Microsoft documents exact matching as the default.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 32

VLOOKUP and HLOOKUP

Traditional lookup functions search a table vertically or horizontally.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 33

INDEX and MATCH

Combine INDEX and MATCH for flexible lookup patterns.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 34

XMATCH and CHOOSE

XMATCH returns a match position; CHOOSE returns a value by index.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 35

FILTER

FILTER returns rows that meet one or more criteria and spills the result into neighboring cells.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 36

SORT, SORTBY and UNIQUE

Sort or deduplicate dynamic arrays.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 37

SEQUENCE, TAKE and DROP

Generate sequences and select or remove rows/columns from arrays.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 38

LET

LET assigns names to intermediate results, improving readability and potentially avoiding repeated calculation.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 39

LAMBDA

LAMBDA creates reusable custom functions without VBA or JavaScript.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 40

BYROW, BYCOL, MAP, REDUCE and SCAN

Modern array helpers can calculate per row/column, transform arrays, or accumulate values.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 41

PMT and FV

Financial functions can calculate loan payments and future values.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 42

PV, NPV, IRR and XIRR

Evaluate present value and investment returns.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 43

Statistical Functions

Use STDEV, VAR, PERCENTILE, and RANK to summarize and compare data.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 44

Error and Information Functions

Test cell content and errors with ISBLANK, ISNUMBER, ISTEXT, ISERROR, and ISNA.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 45

SUMPRODUCT

SUMPRODUCT multiplies corresponding array values and then sums the products; it is useful for weighted totals.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 46

Dynamic Array Combination

Combine FILTER, SORT, UNIQUE and other array functions to build dynamic reports.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 47

Lookup + Error Handling

Combine XLOOKUP with IFNA/IFERROR for user-friendly lookups.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 48

LET + Multiple Calculations

Use LET when the same expression appears several times.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 49

LAMBDA Custom Tax Function

Build reusable custom business logic.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 50

Mini Project: Student Result

Combine IF, AVERAGE, COUNTIF, XLOOKUP, and TEXT to build a small student report.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 51

Mini Project: Sales Dashboard

Combine SUMIFS, COUNTIFS, XLOOKUP, FILTER, SORT, and TEXT for an interactive sales summary.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 52

Mini Project: Loan Calculator

Combine PMT, IF, ROUND, and TEXT for a learner-friendly EMI/payment worksheet.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 53

Mini Project: Attendance

Use COUNTIF/COUNTIFS and IF to calculate attendance status.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
STEP 54

Final Formula Challenge

Build a formula from smaller formulas. Break complex tasks into named steps with LET.

Formula / Example

Ready.

Result / Explanation — Let’s Understand It


    
REFERENCE

Formula Library

Search the practical formula library below. Availability varies by Excel version; modern functions are marked in the course lessons.

CategoryFunctionPurpose
Math & BasicSUMAdds numbers.
Math & BasicSUMIFSums with one condition.
Math & BasicSUMIFSSums with multiple conditions.
Math & BasicAVERAGEArithmetic mean.
Math & BasicAVERAGEIFConditional average.
Math & BasicAVERAGEIFSMulti-condition average.
Math & BasicMINSmallest value.
Math & BasicMAXLargest value.
Math & BasicMEDIANMiddle value.
Math & BasicCOUNTCounts numeric cells.
Math & BasicCOUNTACounts non-empty cells.
Math & BasicCOUNTBLANKCounts blanks.
Math & BasicCOUNTIFCounts one condition.
Math & BasicCOUNTIFSCounts multiple conditions.
Math & BasicROUNDRounds to a specified number of digits.
Math & BasicROUNDUPRounds away from zero.
Math & BasicROUNDDOWNRounds toward zero.
Math & BasicINTRounds down to integer.
Math & BasicABSAbsolute value.
Math & BasicMODRemainder after division.
Math & BasicQUOTIENTInteger portion of division.
Math & BasicPRODUCTMultiplies values.
Math & BasicSUMPRODUCTWeighted/multi-array multiplication and sum.
Math & BasicPOWERRaises to a power.
Math & BasicSQRTSquare root.
Math & BasicRANDRandom decimal.
Math & BasicRANDBETWEENRandom integer.
LogicalIFConditional result.
LogicalIFSMultiple ordered conditions.
LogicalANDTRUE if all conditions are true.
LogicalORTRUE if any condition is true.
LogicalNOTReverses a logical value.
LogicalIFERRORReplacement for any error.
LogicalIFNAReplacement for #N/A.
LogicalSWITCHMatches an expression to cases.
TextLEFTText from left.
TextRIGHTText from right.
TextMIDText from middle.
TextLENCharacter count.
TextTRIMRemoves extra spaces.
TextCLEANRemoves non-printing characters.
TextUPPERUppercase.
TextLOWERLowercase.
TextPROPERCapitalizes words.
TextCONCATCombines text.
TextTEXTJOINCombines text with delimiter.
TextTEXTFormats value as text.
TextSUBSTITUTEReplaces matching text.
TextREPLACEReplaces by position.
TextFINDCase-sensitive search.
TextSEARCHCase-insensitive search.
TextEXACTCase-sensitive comparison.
TextCHARCharacter from code.
TextCODECode of first character.
Date & TimeTODAYCurrent date.
Date & TimeNOWCurrent date/time.
Date & TimeDATECreates date.
Date & TimeYEARExtracts year.
Date & TimeMONTHExtracts month.
Date & TimeDAYExtracts day.
Date & TimeWEEKDAYDay-of-week number.
Date & TimeWEEKNUMWeek number.
Date & TimeEDATEMoves by months.
Date & TimeEOMONTHMonth-end date.
Date & TimeDATEDIFDate difference.
Date & TimeNETWORKDAYSWorking days.
Date & TimeWORKDAYDate after working days.
Lookup & ReferenceXLOOKUPModern lookup.
Lookup & ReferenceVLOOKUPVertical lookup.
Lookup & ReferenceHLOOKUPHorizontal lookup.
Lookup & ReferenceINDEXReturns value by position.
Lookup & ReferenceMATCHReturns match position.
Lookup & ReferenceXMATCHModern match.
Lookup & ReferenceCHOOSEValue by index.
Lookup & ReferenceOFFSETShifted reference.
Lookup & ReferenceINDIRECTText-to-reference.
Dynamic ArraysFILTERReturns rows meeting criteria.
Dynamic ArraysSORTSorts an array.
Dynamic ArraysSORTBYSorts by another array.
Dynamic ArraysUNIQUEReturns unique values.
Dynamic ArraysSEQUENCEGenerates sequences.
Dynamic ArraysTRANSPOSESwitches rows and columns.
Dynamic ArraysTAKEReturns selected leading/trailing rows/columns.
Dynamic ArraysDROPDrops leading/trailing rows/columns.
Dynamic ArraysCHOOSECOLSSelects columns.
Dynamic ArraysCHOOSEROWSSelects rows.
Dynamic ArraysTOCOLFlattens to a column.
Dynamic ArraysTOROWFlattens to a row.
AdvancedLETNames intermediate calculations.
AdvancedLAMBDACreates reusable custom functions.
AdvancedBYROWCalculates per row.
AdvancedBYCOLCalculates per column.
AdvancedMAPTransforms array items.
AdvancedREDUCEAccumulates to one result.
AdvancedSCANReturns intermediate accumulations.
FinancialPMTPeriodic payment.
FinancialFVFuture value.
FinancialPVPresent value.
FinancialNPVNet present value.
FinancialIRRInternal rate of return.
FinancialXIRRIRR with irregular dates.
StatisticalSTDEV.SSample standard deviation.
StatisticalSTDEV.PPopulation standard deviation.
StatisticalVAR.SSample variance.
StatisticalPERCENTILE.INCInclusive percentile.
StatisticalRANK.EQRanks a value.
Information & ErrorsISBLANKTests blank.
Information & ErrorsISNUMBERTests numeric type.
Information & ErrorsISTEXTTests text type.
Information & ErrorsISERRORTests error.
Information & ErrorsISNATests #N/A.
DatabaseDSUMDatabase conditional sum.
DatabaseDCOUNTDatabase conditional count.
EngineeringCONVERTUnit conversion.
EngineeringDEC2BINDecimal to binary.
EngineeringHEX2DECHexadecimal to decimal.
FINAL QUIZ

Excel Formula Knowledge Check

Question 1

What character begins an Excel formula?

Question 2

Which function is the modern lookup example in this course?

Question 3

Which function returns unique values?

Question 4

Which function can create a reusable custom Excel function?

Question 5

Which function can name intermediate calculations inside one formula?

Choose an answer to start the score.
OFFICIAL REFERENCES

Microsoft Excel Formula Documentation

Excel functions by category

Excel functions alphabetical reference

Overview of formulas in Excel

XLOOKUP function

LET function

LAMBDA function

PROTECTION NOTE

Protected Learning Mode

This page blocks common right-click, selection, copy, print, save-shortcut and drag actions as browser-side deterrence while keeping formula editors and Run buttons usable.

A standalone HTML file cannot provide absolute DRM because the browser must receive the page and its source to display it.