Excel Common Formulas Complete Guide: Quick Reference for Functions and Formulas

Organize common Excel formulas into five categories: sum and statistics, conditional logic, lookup and reference, text processing, and date calculation. For each formula, give its syntax, purpose, and an example, and explain how to test and verify each one in the UniCell spreadsheet.

Key Points of This Article

  • Choose functions by "what problem am I solving" first; this saves more time than memorizing dozens of function names.
  • For conditional sums, prefer SUMIFS; for conditional counts, use COUNTIFS. Don't filter manually when multiple conditions are involved.
  • When looking up data, exact matches should use FALSE or 0; otherwise you may get an incorrect approximate result.
  • Test each formula on a small sample dataset and compare it with a hand-calculated result before applying it to your real spreadsheet.
  • Different Excel versions support different functions. XLOOKUP, IFS, and TEXTJOIN require newer versions.

Many people learn Excel formulas by starting from a specific spreadsheet problem: at month-end they need to total sales by region, the HR table needs length of service calculated, or two tables need their prices matched up. They search for a formula when they hit a problem, use it, then forget it, and next time they have to start the search all over again. The approach that really saves time is to group commonly used formulas by purpose and keep a quick-reference cheat sheet that is easy to consult.

This article is written for people who often work with spreadsheets but have never systematically studied functions. It organizes five categories of commonly used formulas: sum and count statistics, conditional judgment, lookup and reference, text processing, and date calculation. Each formula comes with its syntax, its purpose, and a small example you can reproduce. After reading, you will be able to find the formula you need by comparing against the examples, and know how to check with a small set of data whether it behaves as you expect.

Which common formula should you choose? One-sentence conclusion

First choose a category based on the problem to solve, then pick a function from that category: use summary functions for statistics, conditional functions for filtering by criteria, lookup functions for pulling data across tables, and text or date functions for tidying up text and dates. The table below can serve as the entry point.

Your situationRecommended PracticesCause
Need the sum and average for a column or a block of cells.Use SUM and AVERAGE, with the range written as B2:B20.Simple structure, less prone to errors.
Count only the rows that meet a certain conditionUse SUMIF and COUNTIF for a single condition; use SUMIFS and COUNTIFS for multiple conditions.One formula can handle both filtering and calculation, so there's no need to filter manually.
Retrieving data by ID from another tableCommonly used VLOOKUP or INDEX+MATCH; newer versions can use XLOOKUPWhen the number stays unchanged, the result automatically updates after the source table is updated.
Results are grouped into several categories by score or status.Use IF; for multiple levels, use IFS or nested IFThe judgment rules are concentrated in the formulas, which makes them easy to check.
I need to handle date intervals or expiration timesDATEDIF, EDATE, EOMONTH, NETWORKDAYSDirectly get the year, month-end, and business day, without having to calculate them yourself.

📊 Core Comparison

For the same kind of problem there are often several functions to choose from. The main differences lie in how many conditions they can handle, whether they need to look up to the left, and what version of Excel they require.

TypeCommon FunctionsSuitable scenariosThings to Note
Single-condition statisticsSUMIF, COUNTIF, AVERAGEIFCount only by region, department, or statusThe condition range and the sum range must have the same number of rows.
Multi-condition statisticsSUMIFS, COUNTIFS, AVERAGEIFSCount by region and status at the same timeConditional parameters come in pairs; write the sum range first.
Vertical lookupVLOOKUPVLOOKUP's lookup value is in the leftmost column of the range, and the structure is simple.The lookup value can only be taken from the right; the fourth argument must be written as FALSE.
Flexible SearchINDEX+MATCH, XLOOKUPLooking up a value to the left when the column is not on the leftINDEX+MATCH has better compatibility, while XLOOKUP requires a newer version.
Multi-tier judgmentNested IF, IFSDivide into three or more tiers by score or amountDeeply nested levels are hard to read; you can use IFS instead.

Quick Reference: Organized by Category

The following example assumes the data starts at row 2, with the headers in row 1. Replace the text and ranges in the formulas with your own table's positions.

I. Summation and Counting

OfficialWriting styleFunction
SUM=SUM(B2:B20)Sum the values over a region.
AVERAGE=AVERAGE(B2:B20)Calculate the average, with empty cells excluded from the calculation.
COUNT=COUNT(B2:B20)Count the number of cells containing numbers, excluding text
COUNTA=COUNTA(A2:A20)Count the number of non-empty cells, suitable for counting a list of names
ROUND=ROUND(B2,2)Keep two decimal places, and note that the displayed value and the actual value may differ.

II. Conditional Statistics

OfficialWriting styleFunction (effect/role)
SUMIF=SUMIF(C2:C20,"East China",D2:D20)Total amount for the region "East China"
SUMIFS=SUMIFS(D2:D20,C2:C20,"East China",D2:D20,">1000")Total for the East China region where the amount exceeds 1000
COUNTIF=COUNTIF(E2:E20,"Completed")Number of rows whose status is "Completed"
COUNTIFS=COUNTIFS(C2:C20,"East China",E2:E20,"Completed")Number of completed rows in the East China region
AVERAGEIF=AVERAGEIF(C2:C20,"East China",D2:D20)Average amount in the East China region

III. Logical Reasoning

OfficialWriting styleFunction
IF=IF(D2>=60,"Pass","Fail")Return one result if the condition is met; otherwise, return another.
AND=IF(AND(D2>=60,E2="Yes"),"Pass","Review")Passes only when both conditions are met.
OR=IF(OR(D2<0,D2>100),"abnormal","normal")Any one condition being met is judged as an anomaly.
IFS=IFS(D2>=85,"Excellent",D2>=60,"Pass",TRUE,"Needs Improvement")Multi-branch judgment, with TRUE as the final fallback
IFERROR=IFERROR(VLOOKUP(A2,Product Table!A:C,3,FALSE),"Not found") Note: The text inside the quotes, "Not found", translates to "Not found". The sheet name Product Table translates to "Product Table".Find the error and display a prompt instead of the error code

IV. Searching and Citing

OfficialWriting styleFunction
VLOOKUP=VLOOKUP(A2,ProductTable!A:C,3,FALSE)Look up A2 in the first column of the product table and return the value in the 3rd column.
INDEX+MATCH=INDEX(C:C,MATCH(A2,A:A,0))Find the position of A2 in column A and return the corresponding value from column C
XLOOKUP=XLOOKUP(A2,A:A,C:C,"Not found")Look up by number and directly specify the prompt message when not found

V. Text Processing

OfficialWriting styleFunction
LEFT, RIGHT=LEFT(A2,3), =RIGHT(A2,4)Take a specified number of characters from the left or right side
MID=MID(A2,4,6)Take 6 characters starting from the 4th character
LEN=LEN(A2)Count characters, commonly used to check the number of digits in an ID or code.
TRIM=TRIM(A2)Remove leading, trailing, and extra spaces.
The text to translate is "concatenation operator &", which means "Concatenation operator &".=A2&"-"&B2Join the two columns together.
TEXTJOIN=TEXTJOIN(", ",TRUE,A2:A5)Join a list of items into one sentence using enumeration commas.

VI. Date and Time

OfficialWriting styleFunction
TODAY=TODAY()Return the current date, automatically updated when the spreadsheet is opened
DATEDIF=DATEDIF(B2,TODAY(),"Y")Calculate the number of full years from the hire date to today
EDATE=EDATE(A2,3)Three months later, on the same day
EOMONTH=EOMONTH(A2,0)The last day of the month
WEEKDAY=WEEKDAY(A2,2)Return the day of the week, where 2 means Monday is 1.
NETWORKDAYS=NETWORKDAYS(A2,B2)Number of working days between two dates, excluding weekends

Practical Usage

The following steps are suitable for use when studying or checking formulas, and can be completed using the UniCell spreadsheet in the OmniDoc desktop client.

  1. Open download.omnidoc.top, download the desktop client, and after installation create a new UniCell spreadsheet.
  2. Enter a small set of sample data in the spreadsheet, for example 20 rows of sales records with three columns: region, amount, and status. A small dataset makes it easier to check the results by hand.
  3. In an empty column, enter the formula above, such as using SUMIFS to total the amounts for the East China region, and use a calculator or manual addition to get the same result.
  4. Once the results match, switch to the range in your real spreadsheet. If the results do not match, check whether the ranges are misaligned and whether the condition text contains extra spaces.
  5. Organize the verified formulas by category into your own quick-reference sheet, save it in the same file, and copy and modify them directly in the future.

It should be noted that the trial calculation results depend on the Excel version you actually use. Newer functions such as XLOOKUP, IFS, and TEXTJOIN may not be available in older versions; in that case, you can replace them with INDEX+MATCH or nested IF.

🎯 Which Approach Suits You?

If you need to produce the same reports every week, I suggest mastering SUMIFS, COUNTIFS, and INDEX+MATCH first. These three functions cover most summarization and lookup needs.

If you only use it occasionally, you can save the cheat sheet, look up problems by category when they come up, and try it out with sample data first to avoid repeatedly modifying your live spreadsheet directly.

❓ Frequently Asked Questions (FAQ)

1. How to Find a Free Excel Formulas PDF Download and Judge Whether It's Reliable?

Check three things: whether the content is categorized by purpose with examples, whether the version notes are clear, and whether downloading requires installing extra software or repeated redirects. Formulas that can be verified directly against a table are the ones that actually help with the work.

2. What is the difference between SUMIF and SUMIFS?

SUMIF can set only one condition, while SUMIFS can set multiple conditions. The two have different argument orders: SUMIFS puts the sum range first, then pairs of criteria range and criteria.

3. Why does a formula return #N/A?

Usually, the lookup value does not exist in the source range, or there are extra spaces before or after the ID, or the numbers and text are formatted inconsistently. You can use TRIM to clean up the spaces, then use IFERROR to display a message.

4. Can formulas be used directly on tables in scanned PDFs?

No. Formulas only operate on cell data, so tables in a PDF must first be converted into table data. After conversion, the numbers should be checked item by item to avoid recognition errors affecting the results.

📝 Summary

Excel formulas don't all need to be memorized. Grouping them by purpose (summing and counting, conditional logic, lookup and reference, text processing, and date calculation) lets you quickly locate the right function when a problem comes up. Test each formula on a small sample first, then apply it to your real spreadsheet, so the results are more reliable. Organizing the formulas you have verified into your own quick-reference sheet is an effective long-term way to save effort when using a complete guide to Excel functions and how to use them.

Open OmniDoc and process your spreadsheet file

Updated 2026-11-29