Skip to content

Excel Formula Explainer

Verified Last reviewed: 22 November 2026. Page history

What this formula does

How Excel works it out, step by step

    What each function does

    How the formula is nested

    
        

    Cell references in this formula

      Notes and how it works

      Paste your Excel formula

      Paste the formula exactly as it appears in the formula bar, starting with the equals sign. Your formula never leaves your browser: this tool only reads it, it never runs it.

      Function reference

      FunctionWhat it doesArguments
      This tool explains Excel formulas in plain English for general guidance only. It does not calculate a result and does not check your data. Check the explanation against the formula in your own workbook before you change anything.

      Free to use — no sign-up, no paywall. Spotted a mistake? Tell us — we fix reported errors within 24 hours.

      Your inputs stay in your browser: every calculation runs on your device, and nothing you type is sent to our servers.

      Paste any Excel formula above to see what each function does, what each argument means, and the order Excel evaluates it in. The explainer covers 106 common functions with full argument lists checked against Microsoft Support, recognizes about 400 more by name, and flags traps such as approximate VLOOKUP matches, missing IFS catch-all branches, and volatile functions. Everything runs in your browser; your formula never leaves your device.

      Last reviewed: 22 November 2026. Reviewed every 180 days; next review due 22 May 2027.

      How to use the Excel Formula Explainer

      Every office has a spreadsheet with a formula nobody dares to touch. It might be a single line of nested IFs, a lookup wrapped in an error trap, or a chain of text functions that only its author understood, and the author left years ago. This tool takes that formula apart and tells you what it does, in plain English, one piece at a time. Paste the formula exactly as it appears in the formula bar, starting with the equals sign, and the explainer shows you what each function does, what each argument means, how the nesting fits together, and the order Excel works through it.

      Nothing you paste ever leaves your browser. The tool only reads your formula: it never runs it, never evaluates it, and never sends it anywhere. That matters, because formulas can contain sheet names, cell references, and fragments of your data. The parser is a pure reader. It breaks the formula into its parts, checks each function name against a reference table verified against Microsoft Support, and writes the explanation from that structure. If the formula is broken, it says so plainly, naming the problem and where it sits, instead of guessing.

      To get your explanation, follow these steps:

      1. Paste the formula. Click the cell in Excel, copy the contents of the formula bar, and paste them into the box above. Include the leading equals sign. A formula without one still works: the tool adds the missing sign in its display copy and tells you it did.
      2. Click Explain my formula. The result appears below the box without reloading the page. Your pasted formula stays in the box, so you can edit it and explain the new version right away.
      3. Read the summary first. The headline names the outermost function and what sits inside it, and the summary paragraph says what the formula is for, how many function calls it holds, how deep the nesting goes, and which cell references it reads.
      4. Follow the steps. The step-by-step list runs in evaluation order, innermost piece first, so you can trace exactly how Excel gets from your inputs to the answer.
      5. Check the warnings. Yellow boxes flag the traps this tool knows about: approximate matches, missing catch-all branches, volatile functions, broken references, and arguments left blank. Fix those before you trust the formula.

      Four example buttons sit under the box, each loading a real-world formula: a nested lookup, a two-condition sum, a text join with a test inside, and the classic INDEX and MATCH combination. They are also the four worked examples explained in full below, so you can compare the tool output with a written walkthrough.

      What the explanation shows you

      The result has six parts. The headline and summary answer the first question: what is this formula for. The four stat cards count the function calls, the deepest nesting level, the cell references, and the operators, so you can judge at a glance whether you are looking at something simple or something that needs care. A formula with one function call and two references is a five-second read. A formula with nine calls nested five deep deserves the full treatment below.

      The step-by-step list is the heart of the explanation. Excel always works out the innermost piece first and builds outward, and the steps follow that order. For a lookup inside an IF, the lookup step comes first, then the comparison, then the IF itself. Each step names the piece it works out and says what that piece does, so you can stop at the first step you do not follow and look only at that part of the formula.

      The function breakdown gives one paragraph per function call, in the order the calls appear in the formula. For each call it states the purpose of the function and then lists every argument with its role name: lookup_value, table_array, col_index_num, and so on, with the actual text you passed for each. Arguments left blank are shown as left blank, with a warning about what Excel does with the gap. The tool carries full argument lists for 106 common functions, checked against Microsoft Support, and it recognizes about 400 more built-in functions by name, listing their arguments by position when it does not carry the full list.

      The nesting tree shows the same structure as an outline, with each function call on its own line and its arguments indented underneath it, labeled by role. When a formula nests three or four levels deep, the tree is often the fastest way to see which closing parenthesis belongs to which function. The cell reference list then collects every reference the formula reads, in the order it appears, including sheet names and ranges. Finally, the notes record the general facts that apply: that the tool explains rather than calculates, that function names are not case-sensitive, and how sheet-qualified references work.

      Worked example 1: IF with VLOOKUP inside

      =IF(VLOOKUP(A2,Sheet2!A:B,2,FALSE)>100,"High","Low")

      This is the most common shape of nested formula in office spreadsheets: a lookup that fetches a number, a test on that number, and a label as the answer. Read it from the inside out. VLOOKUP takes the value in A2 and searches for it in the first column of Sheet2!A:B, which is the whole of columns A and B on the sheet named Sheet2. The 2 says to return the value from the second column of that range, which is column B, on the matching row. The FALSE asks for an exact match: if A2 is not found, VLOOKUP returns the #N/A error instead of guessing at the nearest value.

      The comparison then tests the looked-up number against 100. If it is greater than 100, the IF returns the text High. If it is 100 or less, the IF returns Low. Note what happens when the lookup fails: the comparison itself errors, because you cannot compare #N/A with 100, so the whole formula shows #N/A. If you want a friendly message instead, wrap the lookup in IFERROR, which catches the error and returns a fallback value of your choosing. The explainer shows this formula as three steps: the lookup, the comparison, and the IF that picks the label.

      Worked example 2: SUMIFS with two conditions

      =SUMIFS(Sales!D:D,Sales!A:A,"East",Sales!B:B,">1000")

      This formula adds up a column of numbers, but only for the rows that pass two tests. SUMIFS takes the range to add first, which is the whole of column D on the Sales sheet. Then come the condition pairs. The first pair says the matching row must have East in column A. The second pair says the matching row must have a value over 1000 in column B. Only rows that pass both tests contribute their column D value to the total.

      The trap this example teaches is the argument order. In SUMIFS, the range to add comes first. In the older SUMIF, the range to add comes last, and it is optional. People who learned SUMIF first routinely write SUMIFS with the arguments in SUMIF order, and Excel then adds the wrong column without any error message. The explainer labels each argument by role, so a swapped order shows up immediately: the sum_range line would show a column of region names instead of numbers. Microsoft documents the SUMIFS order explicitly, and this tool follows the Microsoft argument names exactly.

      Worked example 3: TEXTJOIN with IF inside

      =TEXTJOIN(", ",TRUE,IF(B2:B10="Yes",A2:A10,""))

      This formula builds a single comma-separated list of names, but only for the rows that pass a test. The IF inside runs across the whole range at once: for each row from 2 to 10, it checks whether column B holds Yes. Where the answer is yes, it returns the name from column A. Where the answer is no, it returns an empty string. TEXTJOIN then joins the results with a comma and a space between each piece.

      The TRUE in the second argument is what makes the list clean. It tells TEXTJOIN to skip empty cells and empty strings, so the rows that failed the test leave no gaps and no double commas. With FALSE there, every failed row would add an extra separator and the list would come out full of holes. This pattern, a test inside a join, is one of the most useful in modern Excel, and it only works as a normal formula in Microsoft 365 and Excel 2021 or later. In older versions the same formula needs to be entered as an array formula with Ctrl+Shift+Enter.

      Worked example 4: INDEX and MATCH lookup

      =INDEX(Products!C:C,MATCH(D2,Products!A:A,0))

      This pair is the classic alternative to VLOOKUP, and it survives because it can do one thing VLOOKUP cannot: look to the left. MATCH searches column A on the Products sheet for the value in D2 and returns its position, a number counting down from the top of the range. The 0 asks for an exact match, which is the setting you want in nearly every case. INDEX then takes that position and returns the value sitting that far down column C.

      The two functions divide the job cleanly. MATCH finds where the answer is. INDEX fetches what is there. Because the search column and the return column are separate arguments, the return column can sit anywhere, to the left or the right of the search column, and inserting a column between them does not break the formula the way it breaks a VLOOKUP with a fixed column number. In Microsoft 365, XLOOKUP does this whole job in one function with an exact match by default, but INDEX and MATCH still work in every version of Excel ever shipped, which is why so many inherited spreadsheets use them.

      The order Excel calculates in

      Excel does not read a formula left to right. It follows a fixed order of operations, and the explainer follows the same order when it writes the steps. Parentheses come first, as always, and then the operators rank as follows, from the tightest binding to the loosest.

      PriorityOperatorWhat it does
      1: (colon)Reference operator: joins two cells into a range, as in A1:B5
      2(space)Intersection operator: the cells two ranges share, as in A1:B2 B2:C3
      3- (negation)Changes the sign of a value, as in -A1
      4% (percent)Divides a value by 100, as in 50%
      5^ (power)Raises a number to a power, as in 2^10
      6* and /Multiplication and division, worked left to right
      7+ and -Addition and subtraction, worked left to right
      8AmpersandJoins text together, as in A1 and B1 combined into one string
      9ComparisonsEquals, less than, greater than, less or equal, greater or equal, not equal: each returns TRUE or FALSE

      Two details in that table surprise people. First, negation binds tighter than the power operator, so -2^2 is 4 in Excel, not -4: Excel negates the 2 first and then squares it. Second, the percent sign binds tighter than powers too, so 50%^2 is 0.25. The explainer follows Excel's order exactly, including these two cases, so the steps it prints match what Excel actually calculates. When a formula uses parentheses to change the order, the steps show the parenthesized piece first, which is where the parentheses did their work.

      Functions this tool explains in full

      The reference table built into the tool covers 106 functions with complete argument lists, each one checked against the Microsoft Support page for that function. The table is grouped the way people think about formulas: adding and averaging, tests and branches, lookups, text, dates, conditional sums and counts, and the newer dynamic array functions. Type in the filter box to narrow it to the function you want. The most-used entries are SUM, AVERAGE, IF, IFS, SWITCH, VLOOKUP, XLOOKUP, INDEX, MATCH, COUNTIF, COUNTIFS, SUMIF, SUMIFS, TEXT, TEXTJOIN, DATE, CONCAT, LEFT, RIGHT, MID, AND, OR, NOT, and IFERROR.

      Three of the entries deserve a note. XLOOKUP is the modern lookup: it searches one range and returns from another, defaults to an exact match, looks in any direction, and takes an optional value to show when nothing is found. It needs Microsoft 365, Excel 2021, or later. IFS replaces long chains of nested IFs with a flat list of test-and-result pairs, up to 127 of them, but it has no built-in default: when no test is true it returns #N/A, so a well-built IFS ends with a TRUE test as a catch-all. LET gives names to values inside a single formula so each is worked out once, which turns an unreadable repeat-heavy formula into a short readable one. If your work with dates runs further, our Date Calculator counts the days between two dates, and our Percentage Calculator works out percent changes and shares for the numbers your formulas produce.

      Common traps the explainer flags

      The warnings exist because Excel fails silently far more often than it fails loudly. The worst case is VLOOKUP with its fourth argument left out or set to TRUE. That is an approximate match: Excel assumes the first column is sorted and returns the nearest value below your lookup value, with no error and no sign that anything is wrong. On unsorted data the answer is simply a wrong number that looks right. The explainer flags every VLOOKUP and HLOOKUP that uses an approximate match, and every MATCH that leaves out its match type, because MATCH defaults to 1, an approximate match that needs ascending data, when the third argument is missing.

      Missing branches are the second trap. An IF with no value_if_false returns FALSE when the test fails, which then flows into later calculations as a zero or a text value where a number was expected. An IFS with no TRUE catch-all returns #N/A when nothing matches. A SWITCH with no default does the same. None of these is an error in Excel's eyes, so the formula runs and the spreadsheet quietly fills with FALSE and #N/A values. The explainer warns on each one, naming the missing piece.

      The third trap is volatility. TODAY, NOW, RAND, RANDBETWEEN, OFFSET, INDIRECT, CELL, and INFO recalculate every time anything in the workbook changes, not just when their own inputs change. One volatile cell is harmless. A thousand of them, or a volatile function inside a formula copied down ten thousand rows, can turn a fast workbook into a slow one. The explainer flags each volatile function it finds. Finally, #REF! means a cell the formula pointed to was deleted, and the formula will keep showing #REF! until the reference is repaired. A formula that links to another workbook breaks the same way when that file moves or is renamed, and the explainer flags external links for that reason.

      What this tool cannot do

      The explainer reads formulas; it does not calculate them. It cannot tell you the value a formula returns, because it cannot see the values in your cells. A VLOOKUP explanation can tell you which column the answer comes from, but only your spreadsheet knows what sits in that column. For the same reason, it cannot check whether a lookup will find its value, whether a division will hit zero, or whether a date is valid. Those are questions about your data, not about the formula's shape.

      There are also a few things the tool deliberately does not guess at. A bare name such as TaxRate could be a defined name pointing at a cell, a range, or a constant, and the tool says it is a name without claiming to know what it holds. A function it has never heard of is reported as unknown, with a spelling suggestion when one is close, rather than explained from a guess. Array formulas entered the old way, with curly braces and Ctrl+Shift+Enter, are recognized and explained, but the tool does not simulate how the array spills. If you paste a formula longer than 2,000 characters, the tool asks you to shorten it rather than explain half of it.

      Frequently asked questions

      Does this tool calculate my formula or just explain it?

      It only explains it. The tool reads the formula and describes what each part does, but it never runs the formula and never works out a value, because it cannot see the values in your cells. Paste the formula into Excel to see its result.

      Is my formula sent to a server?

      No. Everything runs in your browser. The formula you paste never leaves your device, which matters when formulas contain sheet names and fragments of your data.

      Why does VLOOKUP default to an approximate match?

      Because Microsoft designed it that way in the earliest versions of Excel, when sorted lookup tables were the norm. If the fourth argument is left out or set to TRUE, VLOOKUP assumes the first column is sorted and returns the nearest value below your lookup value. For an exact match you must write FALSE as the fourth argument, or use XLOOKUP, which defaults to exact.

      What is the difference between SUMIF and SUMIFS?

      SUMIF handles one condition and SUMIFS handles several, but the argument order flips between them. In SUMIF the range to add comes last and is optional. In SUMIFS the range to add comes first and is required, followed by range-and-criteria pairs. Mixing up the order is one of the most common Excel mistakes, and it produces a wrong total with no error message.

      Why does my IFS formula return #N/A?

      IFS returns #N/A when none of its tests is true, because it has no built-in default value. Add a final pair with TRUE as the test and your fallback value as the result, and that value will be returned whenever nothing else matches.

      Can this tool explain LET and LAMBDA formulas?

      Yes. LET is explained with each name-and-value pair labeled, and the final calculation identified as the result. LAMBDA is explained with its parameters labeled, and when a LAMBDA is called right away with inputs in a second set of parentheses, the call is explained as a separate step.

      What does it mean when a formula has curly braces around it?

      Curly braces around a whole formula, as in {=SUM(A1:A5*B1:B5)}, mark a legacy array formula, entered with Ctrl+Shift+Enter in older Excel. Modern Excel calculates most array formulas with a normal Enter, so the braces are usually a sign that the formula came from an older file. Curly braces inside a formula hold an array constant, a fixed grid of values written directly in the formula.

      How many functions does the reference table cover?

      The built-in reference table carries full argument lists for 106 common functions, each checked against Microsoft Support. The explainer also recognizes about 400 more built-in Excel functions by name and lists their arguments by position.

      Last reviewed: 22 November 2026. Reviewed every 180 days; next review due 22 May 2027. The review also runs early if Microsoft adds new Excel functions, changes a function signature, or retires a function, and if the reference table needs new entries.

      Page history
      • — Published (saleem891@gmail.com)