Excel Practice Test

โ–ถ

Excel Formulas at a Glance

500+
Built-in Excel Functions Available
VLOOKUP
Most Used Lookup Formula
=SUM()
Most Common Formula Overall
IF()
Most Used Logical Formula
INDEX/MATCH
Preferred Over VLOOKUP by Pros
F2 Key
Edit Cell Formula Shortcut

What Are Excel Formulas?

Excel formulas are instructions you enter into cells that perform calculations, look up data, test conditions, or manipulate text. Every formula starts with an equals sign (=) โ€” that's how Excel knows you're entering a calculation rather than plain text. From there, you combine cell references, values, operators, and functions to tell Excel exactly what to compute.

The difference between a formula and a function matters when you're learning. A formula is the entire expression you enter in a cell โ€” like =A1+B1 or =SUM(A1:A10). A function is a named operation that Excel provides โ€” SUM, AVERAGE, IF, VLOOKUP โ€” that you use inside your formula. Most people use the terms interchangeably, and that's fine for everyday work. The important thing is understanding what each one does and when to reach for it.

Excel has over 500 built-in functions organized into categories: math and trigonometry, statistical, lookup and reference, text, logical, date and time, financial, and more. You don't need to know all of them. In practice, maybe 20โ€“30 functions cover 95% of real spreadsheet work. Master those, and you can handle nearly anything that comes up on the job or in a certification exam.

Why do Excel formulas matter for certification prep and job performance? Because spreadsheet skills are directly tested. The Microsoft Office Specialist (MOS) Excel exam tests formula construction, function syntax, and the ability to solve data problems โ€” not just button-clicking. Excel certification candidates consistently report that formula questions are the most common source of errors on the exam. Understanding the logic behind formulas โ€” not just memorizing syntax โ€” is what separates candidates who pass from those who don't.

Basic Excel Formulas: Where to Start

The most commonly used Excel formulas are the simplest ones. If you're just getting started, these are what you need to master first โ€” they appear in virtually every spreadsheet you'll encounter professionally.

=SUM(range) adds all numbers in a range. =SUM(B2:B20) totals everything from B2 to B20. You can also sum non-contiguous cells: =SUM(B2, D5, F8). SUM is the single most used Excel function โ€” it handles sales totals, budget summaries, attendance counts, and thousands of other basic aggregation tasks.

=AVERAGE(range) returns the mean of a range. =COUNT(range) counts cells that contain numbers. =COUNTA(range) counts non-empty cells (including text). =MIN(range) and =MAX(range) return the smallest and largest values. These five functions handle the majority of basic data summarization work in real spreadsheets.

=IF(condition, value_if_true, value_if_false) is Excel's most important logical function. It checks whether a condition is true and returns different results depending on the answer. For example: =IF(B2>=60, "Pass", "Fail") returns "Pass" if the value in B2 is 60 or higher, and "Fail" otherwise. IF formulas power everything from grade calculations to inventory alerts to sales performance flags โ€” any situation where you need Excel to make a decision based on data.

The =SUMIF(range, criteria, sum_range) function adds values only when they meet a condition. =COUNTIF(range, criteria) counts cells that meet a condition. These conditional aggregation functions are workhorses in real data analysis: total sales by region, count of customers with orders above a threshold, sum of hours worked by a specific employee. Once you understand SUMIF and COUNTIF, SUMIFS and COUNTIFS (which handle multiple conditions) follow naturally.

Practice Free Excel Questions

Excel Formula Categories

๐Ÿ”ด Math & Aggregation

SUM, AVERAGE, COUNT, COUNTA, MIN, MAX, ROUND, MOD, ABS, SUMIF, SUMIFS, COUNTIF, COUNTIFS. These handle numeric calculations, totals, and conditional aggregation โ€” the backbone of financial and data reporting spreadsheets.

๐ŸŸ  Lookup & Reference

VLOOKUP, HLOOKUP, INDEX, MATCH, XLOOKUP (Excel 365), OFFSET, INDIRECT. Used to retrieve data from tables and ranges based on a lookup value โ€” essential for merging datasets, building dashboards, and cross-referencing lists.

๐ŸŸก Logical

IF, AND, OR, NOT, IFS, IFERROR, IFNA, SWITCH. These formulas test conditions and return results based on true/false logic. Nested IF statements, error handling with IFERROR, and multi-condition logic with IFS and AND/OR are all standard professional skills.

๐ŸŸข Text

CONCATENATE (&), LEFT, RIGHT, MID, LEN, TRIM, UPPER, LOWER, PROPER, FIND, SUBSTITUTE, TEXT. Text functions let you clean, split, combine, and reformat text data โ€” critical for working with names, addresses, codes, and imported data.

๐Ÿ”ต Date & Time

TODAY, NOW, DATE, YEAR, MONTH, DAY, DATEDIF, NETWORKDAYS, EDATE, EOMONTH. Date functions calculate durations, add intervals, find business days between dates, and extract date components from full datetime values.

๐ŸŸฃ Statistical

MEDIAN, MODE, STDEV, VAR, PERCENTILE, RANK, LARGE, SMALL, CORREL. These functions go beyond AVERAGE to give you distribution, spread, and ranking information โ€” used in analytics, reporting, and quality control work.

VLOOKUP: The Most Important Lookup Formula

VLOOKUP is arguably the most discussed and tested Excel formula โ€” and for good reason. It lets you search a column for a specific value and return a corresponding result from the same row. The full syntax: =VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup]).

Breaking that down: lookup_value is what you're searching for. table_array is the range that contains your data. col_index_num is which column in that range to return the result from (1 = first column, 2 = second column, etc.). range_lookup should almost always be FALSE (or 0) โ€” this forces an exact match.

Example: =VLOOKUP(A2, $D$2:$F$100, 2, FALSE) looks up the value in cell A2 within the range D2:F100 and returns the value from the second column of that range. If A2 contains an employee ID and D2:F100 contains employee IDs, names, and departments, this formula returns the employee's name.

VLOOKUP has two important limitations: it can only search the leftmost column of your table and return values to the right, and it's slower than alternatives on large datasets. That's why experienced Excel users prefer INDEX/MATCH for professional work. INDEX/MATCH combines two functions: =INDEX(return_range, MATCH(lookup_value, lookup_range, 0)). It's more flexible โ€” it can look in any direction, handles column insertions without breaking, and processes faster. On an Excel certification exam, you'll need to demonstrate both approaches.

For Excel 365 users, XLOOKUP has largely replaced VLOOKUP. It handles left-to-right and right-to-left lookups in a single formula, returns entire arrays, and has built-in error handling. But VLOOKUP remains the standard for compatibility across older Excel versions, so it still dominates in most workplaces and appears on all versions of the MOS exam.

Three common VLOOKUP errors trip up beginners and exam candidates: using TRUE for an exact match (it will return the closest value instead), forgetting to lock the table array with absolute references ($D$2:$F$100), and counting the wrong column number. If VLOOKUP is returning #N/A errors, the lookup value likely doesn't exist in the first column of your table โ€” or there's a format mismatch (number stored as text vs. actual number). Check for invisible spaces using TRIM() on both the lookup value and the table data.

Excel Formula Deep Dives

๐Ÿ“‹ IF & Logical

IF Formulas and Nested Logic

The IF function is Excel's decision-making engine. Basic syntax: =IF(logical_test, value_if_true, value_if_false). Nested IF statements let you test multiple conditions in sequence โ€” each value_if_false can itself be another IF statement. But nested IFs become hard to read quickly. Excel 2019 and later offer IFS, which tests multiple conditions more cleanly: =IFS(A1>90, "A", A1>80, "B", A1>70, "C", TRUE, "F").

  • AND() โ€” returns TRUE only if all conditions are met
  • OR() โ€” returns TRUE if any condition is met
  • =IF(AND(A2>0, B2>0), "Both positive", "Check values") โ€” combines IF with AND
  • =IFERROR(formula, "Error") โ€” suppresses error values, returns alternative text
  • =IFNA(VLOOKUP(...), "Not found") โ€” handles #N/A specifically

IFERROR is essential for professional spreadsheets โ€” it keeps error messages from appearing in reports and dashboards. Always wrap lookup formulas in IFERROR when the lookup value might not always exist in the table.

๐Ÿ“‹ Text Functions

Manipulating Text in Excel

Text functions are essential when working with imported data, databases, or any spreadsheet that contains names, addresses, codes, or mixed-format entries. The most common operations: combining text from multiple cells, extracting parts of a text string, and cleaning up formatting inconsistencies.

  • =A1&" "&B1 โ€” combines first and last name with a space (ampersand is Excel's text join operator)
  • =CONCATENATE(A1, " ", B1) โ€” same as above, older syntax
  • =LEFT(A1, 3) โ€” returns the first 3 characters from a string
  • =RIGHT(A1, 4) โ€” returns the last 4 characters
  • =MID(A1, 2, 5) โ€” returns 5 characters starting from position 2
  • =LEN(A1) โ€” counts total characters in the string
  • =TRIM(A1) โ€” removes leading, trailing, and extra internal spaces
  • =UPPER(A1) / LOWER(A1) / PROPER(A1) โ€” changes capitalization
  • =SUBSTITUTE(A1, "old", "new") โ€” replaces all instances of a substring

TRIM is often the first thing to try when a VLOOKUP returns errors even though the value looks correct โ€” invisible spaces in the source data or lookup cell are a frequent culprit.

๐Ÿ“‹ Date Functions

Working with Dates in Excel

Excel stores dates as serial numbers (January 1, 1900 = 1), which is why date arithmetic works. You can subtract one date from another to get the number of days between them. Date functions let you extract components, add intervals, and calculate business-day durations.

  • =TODAY() โ€” returns today's date, updates automatically
  • =NOW() โ€” returns current date and time
  • =YEAR(A1) / MONTH(A1) / DAY(A1) โ€” extracts components from a date
  • =DATE(year, month, day) โ€” builds a date from components
  • =DATEDIF(start_date, end_date, "Y") โ€” returns number of complete years (use "M" for months, "D" for days)
  • =NETWORKDAYS(start, end) โ€” counts business days, excluding weekends
  • =EDATE(start_date, months) โ€” adds a number of months to a date
  • =EOMONTH(start_date, months) โ€” returns the last day of the month N months from the start

Note that DATEDIF is a hidden function โ€” it works but doesn't appear in autocomplete. You must type it manually. It's tested on some Excel certification exams specifically because of this quirk.

๐Ÿ“‹ PivotTable Formulas

GETPIVOTDATA and Calculated Fields

Once you start working with PivotTables, you'll encounter formulas that interact with them. GETPIVOTDATA retrieves specific values from a PivotTable: =GETPIVOTDATA("Sales", $A$3, "Region", "East") pulls the sales total for the East region from a PivotTable with its top-left corner at A3. This formula is auto-generated when you click a PivotTable cell while building a formula โ€” useful for building reports that pull from PivotTable data.

Calculated fields let you add custom formulas directly inside a PivotTable. Instead of creating a helper column in your source data, a calculated field computes a new metric within the PivotTable itself โ€” like profit margin (Revenue - Cost) or conversion rate. To add one: PivotTable Analyze โ†’ Fields, Items, & Sets โ†’ Calculated Field. The formula uses field names rather than cell references.

  • Calculated fields use SUM of fields โ€” AVERAGE in calculated fields behaves differently than expected
  • GETPIVOTDATA auto-references make formulas more robust than static cell references
  • Turn off auto-GETPIVOTDATA in Options if you prefer direct cell references

How to Write Excel Formulas: Syntax and Structure

Every Excel formula follows the same basic structure: start with =, then combine cell references, operators, values, and functions in the correct order. Excel evaluates formulas using standard mathematical order of operations โ€” multiplication and division before addition and subtraction โ€” so parentheses matter. =2+3*4 returns 14, not 20. =(2+3)*4 returns 20. When in doubt, use parentheses to make the evaluation order explicit.

Cell references are the building blocks of most formulas. A1 is a relative reference โ€” it shifts when you copy the formula to another cell. $A$1 is an absolute reference โ€” it stays fixed regardless of where you copy it. $A1 locks the column but lets the row shift. A$1 locks the row but lets the column shift. Press F4 while your cursor is inside a cell reference in the formula bar to cycle through all four reference types.

Range references use a colon: A1:A20 refers to all cells from A1 to A20. You can extend ranges across multiple columns: A1:C20 covers three columns and twenty rows. Entire column references (A:A) work in formulas but are slower on large spreadsheets โ€” prefer explicit ranges when performance matters.

Named ranges make formulas dramatically more readable. Instead of =VLOOKUP(A2, $D$2:$F$500, 2, FALSE), a named range lets you write =VLOOKUP(A2, EmployeeTable, 2, FALSE). Define a name by selecting the range, clicking the Name Box (the cell address box at the top left of the screen), and typing the name. Named ranges are also absolute by default, which eliminates the need to manually add dollar signs for lookup table references.

Excel Tables (created with Ctrl+T or Insert โ†’ Table) give formulas structured references automatically. When you reference a column inside a table, Excel uses the column header name in brackets: =[@Sales]*1.08 multiplies the Sales column value in the current row by 1.08. Table formulas auto-fill to new rows as data is added โ€” you don't need to manually extend the formula range. This makes Excel spreadsheets with dynamic data much easier to maintain.

The Formula Auditing tools (Formulas tab โ†’ Formula Auditing) are essential for troubleshooting. "Trace Precedents" draws arrows showing which cells feed into the selected formula. "Trace Dependents" shows which cells depend on the selected cell. "Evaluate Formula" lets you step through a complex formula one calculation at a time, showing the intermediate result at each step โ€” invaluable for debugging nested IF statements or complex SUMPRODUCT formulas that return unexpected results.

Keyboard shortcuts speed up formula work considerably. Ctrl+` (backtick) toggles between showing formula results and showing formula text in cells โ€” useful when you want to see all formulas in a worksheet at once. Ctrl+Enter enters the same formula in all selected cells simultaneously. Ctrl+Shift+End extends your selection to the last used cell, helping you identify the actual size of your data range before building formulas over it.

Common Excel Formula Errors and How to Fix Them

Excel formula errors appear as codes starting with # โ€” each one points to a specific problem. Knowing what they mean is faster than guessing at fixes.

#N/A โ€” "Not Available." Usually appears in VLOOKUP and INDEX/MATCH when the lookup value can't be found. Check for spaces in the lookup value (use TRIM), format mismatches (number vs. text), or typos in the lookup value itself. Wrap in IFERROR to hide the error in production spreadsheets.

#VALUE! โ€” The formula expects a number but got text, or expects text but got a number. Frequently appears when you perform arithmetic on cells that contain text mixed with numbers. Check that all cells in a math formula contain numeric data. The TEXT function and VALUE function can convert between types.

#REF! โ€” A cell reference is invalid โ€” typically because rows or columns referenced in the formula were deleted. This is why using named ranges or tables instead of raw cell ranges makes spreadsheets more durable. If you see #REF!, check for recently deleted rows or columns in the formula's reference area.

#DIV/0! โ€” Division by zero. The formula is attempting to divide by a cell that contains zero or is blank. Use IFERROR or IF to handle this: =IFERROR(A1/B1, 0) returns 0 instead of the error when B1 is zero.

#NAME? โ€” Excel doesn't recognize part of the formula. Usually caused by a typo in a function name, a missing quote around text, or using a function that doesn't exist in your Excel version. Double-check the spelling and syntax of every function in the formula.

Circular reference errors occur when a formula refers to its own cell โ€” directly or through a chain of references. Excel warns you when this happens. Circular references are occasionally intentional (iterative calculation), but usually they're mistakes. Use the "Trace Precedents" and "Trace Dependents" buttons in the Formulas tab to visualize which cells are feeding which formulas when debugging.

Always use absolute references ($A$1) when a formula is being copied and the reference should not change
Name your ranges (Formulas โ†’ Define Name) to make formulas readable and less error-prone
Use Excel Tables (Ctrl+T) โ€” formulas automatically extend to new rows added to the table
Wrap lookup formulas in IFERROR to prevent error values from appearing in reports
Use FALSE (exact match) as the 4th argument in VLOOKUP โ€” TRUE (approximate) causes unexpected results
Test formulas with known edge cases before relying on them โ€” empty cells, zeros, text in numeric fields
Prefer INDEX/MATCH over VLOOKUP for large datasets or when the lookup column isn't the leftmost
Press F2 to enter edit mode and see colored cell references โ€” essential for debugging formulas
Use Evaluate Formula (Formulas tab) to step through complex formulas one operation at a time
Document complex formulas with cell comments explaining what they do and why
Test Your Excel Formula Skills

Advanced Excel Formulas Worth Learning

Once you're comfortable with the fundamentals, these formulas separate intermediate users from advanced ones โ€” and they're increasingly tested on professional certification exams.

SUMPRODUCT is one of the most versatile Excel functions. It multiplies corresponding values in arrays and sums the results โ€” but it's also used as an alternative to SUMIFS for complex multi-condition aggregation, and it can perform weighted averages without an extra column. =SUMPRODUCT((A2:A100="East")*(B2:B100>1000)*C2:C100) sums column C only where column A is "East" AND column B exceeds 1000.

INDIRECT returns the reference described by a text string. It's used to create dynamic references where the worksheet name or column letter changes based on another cell's value. Useful for dashboards that pull data from different sheets based on a dropdown selection, but it's volatile (recalculates on every change) so use it sparingly on large spreadsheets.

OFFSET returns a reference offset from a starting cell by a specified number of rows and columns โ€” used to create dynamic named ranges and rolling-window aggregations. =SUM(OFFSET(B1, 0, 0, COUNTA(B:B), 1)) sums column B dynamically, expanding as new data is added.

Array formulas (entered with Ctrl+Shift+Enter in older Excel, just Enter in Excel 365 with dynamic arrays) let a single formula perform calculations across multiple cells simultaneously. The FILTER, SORT, UNIQUE, and SEQUENCE functions introduced in Excel 365 replaced many array formula use cases with simpler syntax โ€” if you're working in a modern environment, these are worth learning.

For anyone preparing for the Microsoft Excel certification exam, the formula categories above cover the vast majority of what's tested. The MOS Excel Expert exam goes deeper into named ranges, table-structured references, advanced array formulas, and complex nested functions. The Associate-level MOS exam focuses on the core functions โ€” SUM, AVERAGE, COUNT, IF, VLOOKUP, basic text and date functions โ€” in practical, task-based scenarios rather than abstract formula syntax questions.

Practice is the only thing that makes formulas stick. Working through real data problems โ€” even simple ones โ€” builds the kind of intuition for formula construction that reading about syntax can't replicate. Use a real dataset (your own budgets, lists, schedules) or download a sample spreadsheet and try solving problems rather than following tutorials step by step. The moment you construct a VLOOKUP that works on data you care about, the syntax becomes memorable in a way that a textbook example never quite achieves.

One underrated learning technique: take any formula you don't fully understand and strip it down to its simplest version in a blank spreadsheet with dummy data. If SUMPRODUCT confuses you, build a two-column version with five rows and trace through what each part returns.

Understanding the building blocks of a complex formula in isolation makes the full version click immediately โ€” much faster than trying to understand it in the context of a sprawling, real-world spreadsheet where a dozen other things are happening simultaneously. Formula troubleshooting is a skill in itself, and deliberate practice on small examples develops it faster than waiting for problems to arise in production files.

The fastest way to learn Excel formulas is hands-on practice with real data scenarios. Our Excel skills guide walks through the most important functions with worked examples and interactive exercises. If you're preparing for a job test or Microsoft certification, start with the practice questions to identify which formula types need the most work before your exam date.

VLOOKUP Pros and Cons

Pros

  • VLOOKUP has a publicly available content blueprint โ€” you know exactly what to prepare for
  • Multiple preparation pathways accommodate different schedules and budgets
  • Clear score reporting shows specific strengths and weaknesses
  • Study communities share current insights from recent test-takers
  • Retake policies allow recovery from a difficult first attempt

Cons

  • Tested content scope requires substantial preparation time
  • No single resource covers everything optimally
  • Exam-day performance can differ from practice test performance
  • Registration, prep, and retake costs accumulate significantly
  • Content changes between versions can make older materials less reliable

Excel Formulas Questions and Answers

What is the most important Excel formula to learn first?

SUM is the most universally used formula, but IF is the most important conceptually because it introduces logical thinking in Excel. After mastering SUM, AVERAGE, COUNT, and basic math formulas, learning IF opens the door to conditional logic, error handling, and dynamic spreadsheet behavior. VLOOKUP is the third essential skill for anyone who needs to merge or look up data across tables.

What is the difference between VLOOKUP and INDEX/MATCH?

VLOOKUP searches the first column of a range and returns a value from a column to its right โ€” it can only look left-to-right. INDEX/MATCH is more flexible: it can look in any direction, isn't affected by column insertions, and handles larger datasets faster. INDEX/MATCH syntax is: =INDEX(return_range, MATCH(lookup_value, lookup_range, 0)). Excel 365 users can also use XLOOKUP, which is the most modern and flexible alternative.

How do I fix a #N/A error in VLOOKUP?

#N/A in VLOOKUP means the lookup value wasn't found in the table's first column. Common causes: the lookup value has extra spaces (fix with TRIM), there's a data type mismatch between the lookup value and the table (number vs. text), or the value genuinely doesn't exist in the table. To hide the error in reports, wrap the formula in IFERROR: =IFERROR(VLOOKUP(...), "Not found").

What is the difference between absolute and relative cell references?

Relative references (A1) change when a formula is copied โ€” the reference adjusts relative to the formula's new position. Absolute references ($A$1) stay fixed no matter where the formula is copied. Mixed references ($A1 or A$1) lock only the column or only the row. Use absolute references when your formula refers to a fixed table, constant, or lookup range that should remain the same across all copies of the formula.

Are Excel formulas tested on the MOS certification exam?

Yes โ€” Excel formula construction is a significant portion of both MOS Excel Associate and Expert certification exams. Tasks require you to write formulas from scratch in a real Excel file: SUM, AVERAGE, COUNTIF, IF, VLOOKUP, and text/date functions for Associate level; complex nested formulas, advanced lookup functions, and named ranges for Expert level. Practice writing formulas under timed conditions rather than just recognizing correct syntax.

What does SUMIF do in Excel?

SUMIF adds values in a range that meet a specified condition. Syntax: =SUMIF(range, criteria, sum_range). Example: =SUMIF(A2:A100, "East", B2:B100) adds all values in B2:B100 where the corresponding cell in A2:A100 contains "East". SUMIFS (plural) handles multiple conditions simultaneously: =SUMIFS(sum_range, criteria_range1, criteria1, criteria_range2, criteria2).
Excel Practice Test
Free Excel questions with explanations
MOS Excel Certification Guide
Full prep for Microsoft Office Specialist exam
Excel Skills Test Prep
Practice Excel skills for job assessments
How to Use Excel
Step-by-step guide for spreadsheet basics
โ–ถ Start Quiz