67% found this document useful (6 votes)
51K views

500 Excel Formula Examples - Exceljet

This document provides 500 examples of Excel formulas for functions like VLOOKUP, INDEX, MATCH, COUNTIFS, SUMIFS, and more. The examples are organized into categories like Count, Sum, Average, and Lookup. They show how to count cells between dates, count unique values, sum across multiple worksheets, calculate running totals, and more. The goal is to provide detailed formula examples for common Excel functions and calculations.

Uploaded by

Amit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
67% found this document useful (6 votes)
51K views

500 Excel Formula Examples - Exceljet

This document provides 500 examples of Excel formulas for functions like VLOOKUP, INDEX, MATCH, COUNTIFS, SUMIFS, and more. The examples are organized into categories like Count, Sum, Average, and Lookup. They show how to count cells between dates, count unique values, sum across multiple worksheets, calculate running totals, and more. The goal is to provide detailed formula examples for common Excel functions and calculations.

Uploaded by

Amit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

8/4/2017 500 Excel Formula Examples | Exceljet

Cart Login

Quick, clean, and to the point


Training Videos Functions Formulas Shortcuts Blog

Search... Search

500 Excel Formula Examples


Detailed formula examples for key functions including VLOOKUP, INDEX, MATCH, RANK, SUMPRODUCT, AVERAGE,
SMALL, LARGE, LOOKUP, ROUND, COUNTIFS, SUMIFS, CHOOSE, FIND, SEARCH, DATE, and many more.

Search for formulas here Find Show all

Count

Count cells between dates


COUNTIFS DATE

Count cells between two numbers


COUNTIFS COUNTIF

Count cells equal to


COUNTIF

Count cells equal to case sensitive


SUMPRODUCT EXACT

Count cells equal to either x or y


COUNTIF

Count cells equal to one of many things


COUNTIF SUMPRODUCT

Count cells greater than


COUNTIF
5.7k
Shares

https://exceljet.net/formulas 1/25
8/4/2017 500 Excel Formula Examples | Exceljet

Count cells less than


COUNTIF

Count cells not equal to


COUNTIF

Count cells not equal to many things


COUNTA COUNTIF SUMPRODUCT

Count cells not equal to x or y


COUNTIFS SUMPRODUCT

Count cells that are blank


COUNTBLANK COUNTA

Count cells that are not blank


COUNTA COUNTBLANK

Count cells that begin with


COUNTIF

Count cells that contain either x or y


COUNTIF SUMPRODUCT ISNUMBER FIND

Count cells that contain errors


ISERR SUMPRODUCT ISERROR

Count cells that contain ve characters


COUNTIF

Count cells that contain negative numbers


COUNTIF

Count cells that contain numbers


COUNT

Count cells that contain odd numbers


SUMPRODUCT MOD

Count cells that contain positive numbers


COUNTIF

Count cells that contain speci c text


5.7k
Shares

https://exceljet.net/formulas 2/25
8/4/2017 500 Excel Formula Examples | Exceljet

COUNTIF SUMPRODUCT FIND ISNUMBER

Count cells that contain text


COUNTIF ISTEXT SUMPRODUCT COUNTIFS

Count cells that do not contain


COUNTIF

Count cells that do not contain errors


ISERROR NOT SUMPRODUCT

Count cells that end with


COUNTIF

Count if row meets internal criteria


SUMPRODUCT

Count if row meets multiple internal criteria


SUMPRODUCT

Count if two criteria match


COUNTIFS SUMPRODUCT

Count items in list


COUNTIFS

Count long numbers without COUNTIF


SUMPRODUCT COUNTIF

Count matches between two columns


SUMPRODUCT

Count multiple criteria with NOT logic


SUMPRODUCT ISNA MATCH

Count numbers that begin with


SUMPRODUCT LEFT

Count occurrences in entire workbook


COUNTIF SUMPRODUCT

Count rows that contain speci c values


MMULT COLUMN TRANSPOSE
5.7k
Shares

https://exceljet.net/formulas 3/25
8/4/2017 500 Excel Formula Examples | Exceljet

Count rows with multiple OR criteria


SUMPRODUCT

Count sold and remaining


COUNTA

Count total matches in two ranges


SUMPRODUCT COUNTIF

Count unique numeric values in a range


FREQUENCY SUM COUNTIF

Count unique numeric values with criteria


FREQUENCY SUM

Count unique text values in a range


FREQUENCY MATCH ROW SUMPRODUCT

Count unique text values with criteria


FREQUENCY MATCH ROW SUM

Count unique values in a range with COUNTIF


SUMPRODUCT COUNTIF

Count visible rows in a ltered list


SUBTOTAL

Count visible rows only with criteria

Countif by weekday
SUMPRODUCT WEEKDAY

COUNTIFS with multiple criteria and OR logic


COUNTIFS

Group numbers into ranges with COUNTIFS


COUNTIFS

Running count of occurrence in list


COUNTIF

Summary count by month with COUNTIFS


COUNTIFS EDATE
5.7k
Shares

https://exceljet.net/formulas 4/25
8/4/2017 500 Excel Formula Examples | Exceljet

Summary count of non-blank categories


COUNTIFS

Summary count with COUNTIF


COUNTIF

Summary count with percentage breakdown


COUNTIF COUNTA

SUMPRODUCT count multiple OR criteria


SUMPRODUCT

Two-way summary count with COUNTIFS


COUNTIFS

Sum

3D sum multiple worksheets


SUM

3D SUMIF for multiple worksheets


SUMPRODUCT SUMIF INDIRECT

Calculate running total


SUM

Subtotal by color
SUMIF

Subtotal by invoice number


SUMIF COUNTIF

Subtotal invoices by age


SUMIF

Sum bottom n values


SUMPRODUCT SMALL SUM ROW INDIRECT

Sum by group
SUMIF

5.7k Sum by month


Shares

https://exceljet.net/formulas 5/25
8/4/2017 500 Excel Formula Examples | Exceljet

SUMIFS EOMONTH

Sum by month ignore year

Sum by week
SUMIFS

Sum by weekday
SUMPRODUCT WEEKDAY

Sum columns based on adjacent criteria


SUMPRODUCT

Sum entire column


SUM

Sum every n rows


SUM OFFSET

Sum every nth column


SUMPRODUCT COLUMN MOD

Sum if begins with


SUMIF SUMIFS

Sum if between
SUMIFS

Sum if by year
SUMIFS DATE

Sum if cell contains text in another cell


SUMIF SUMIFS

Sum if cells are equal to


SUMIF SUMIFS

Sum if cells are not equal to


SUMIF SUMIFS

Sum if cells contain an asterisk


SUMIF SUMIFS

5.7k Sum if cells contain both x and y


Shares

https://exceljet.net/formulas 6/25
8/4/2017 500 Excel Formula Examples | Exceljet

SUMIFS

Sum if cells contain either x or y


SUMIFS SUMPRODUCT ISNUMBER FIND SEARCH

Sum if cells contain speci c text


SUMIF SUMIFS

Sum if date is between


SUMIFS DATE

Sum if date is greater than


SUMIF SUMIFS DATE

Sum if ends with


SUMIF SUMIFS

Sum if equal to either x or y


SUMIF SUMPRODUCT

Sum if equal to one of many things


SUMIF SUMPRODUCT

Sum if greater than


SUMIF SUMIFS

Sum if less than


SUMIF SUMIFS

Sum if multiple criteria


SUMIFS

Sum if not blank


SUMIF SUMIFS

Sum if one criteria multiple columns


SUMPRODUCT

Sum last n columns


INDEX COLUMN SUM

Sum top n values


SUMPRODUCT LARGE SUM ROW INDIRECT
5.7k
Shares

https://exceljet.net/formulas 7/25
8/4/2017 500 Excel Formula Examples | Exceljet

Sum top n values with criteria


SUMPRODUCT LARGE

Sum visible rows in a ltered list


SUBTOTAL

SUMIFS with multiple criteria and OR logic


SUMIFS SUM

Average

Average by month
AVERAGEIFS EOMONTH

Average last 5 values


OFFSET COUNT AVERAGE

Average last 5 values in columns


OFFSET COUNT AVERAGE

Average numbers
AVERAGE

Average numbers ignore zero


AVERAGEIF

Average response time per month


AVERAGEIFS EOMONTH

Average the last 3 numeric values


LOOKUP LARGE ROW AVERAGE

Average top 3 scores


LARGE AVERAGE

Weighted average
SUMPRODUCT SUM

Min and Max

5.7k First in, last out times


Shares

https://exceljet.net/formulas 8/25
8/4/2017 500 Excel Formula Examples | Exceljet

MINIFS MAXIFS MAX IF

Large with criteria


LARGE

Larger of two values


MAX

Maximum if multiple criteria


MAX IF MAXIFS

Maximum value
MAX MAXIFS

Maximum value if
MAX IF MAXIFS

Minimum if multiple criteria


MIN IF MINIFS

Minimum value
MIN

Minimum value if
MIN IF MINIFS

nth largest value


LARGE

nth largest value with criteria


LARGE

nth largest value with duplicates


MAX IF

nth smallest value


SMALL

nth smallest value with criteria


SMALL

Smaller of two values


MIN
5.7k
Shares

https://exceljet.net/formulas 9/25
8/4/2017 500 Excel Formula Examples | Exceljet

Lookup

Approximate match with multiple criteria


INDEX MATCH IF

Basic INDEX MATCH approximate


INDEX MATCH

Basic INDEX MATCH exact


INDEX MATCH

Basic Tax Rate calculation with VLOOKUP


VLOOKUP

Calculate grades with VLOOKUP


VLOOKUP

Calculate shipping cost with VLOOKUP


VLOOKUP

Case sensitive match


MATCH EXACT

Categorize text with keywords


INDEX MATCH ISNUMBER SEARCH

Count missing values


COUNTIF SUMPRODUCT MATCH ISNA

Dynamic lookup table with INDIRECT


INDIRECT VLOOKUP

Exact match lookup with INDEX and MATCH


INDEX MATCH EXACT

Exact match lookup with SUMPRODUCT


SUMPRODUCT EXACT

Extract data with helper column


INDEX MATCH AND SUM

Extract multiple matches into separate columns


INDEX SMALL IFERROR ROW COLUMNS
5.7k
Shares

https://exceljet.net/formulas 10/25
8/4/2017 500 Excel Formula Examples | Exceljet

Extract multiple matches into separate rows


INDEX SMALL IFERROR ROW ROWS

Faster VLOOKUP with 2 VLOOKUPS


VLOOKUP NA

Find lowest n values


SMALL INDEX MATCH

Find missing values


COUNTIF VLOOKUP MATCH

First match in range with wildcard


INDEX MATCH

Get address of lookup result


INDEX MATCH CELL

Get employee information with VLOOKUP


VLOOKUP

Get rst match cell contains


INDEX MATCH ISNUMBER SEARCH

Get rst non-blank value in a list


INDEX MATCH ISBLANK

Get rst text value in a list


VLOOKUP

Get rst text value with HLOOKUP


HLOOKUP

Get last match


INDEX MATCH MAX ROW

Get last match cell contains


LOOKUP SEARCH

Get location of value in 2D array


SUMPRODUCT ROW COLUMN

Get nth match


5.7k
Shares

https://exceljet.net/formulas 11/25
8/4/2017 500 Excel Formula Examples | Exceljet

SMALL IF MIN ROW

Get nth match with INDEX / MATCH


INDEX MATCH SMALL

Get nth match with VLOOKUP


VLOOKUP COUNTIF

Group arbitrary text values


VLOOKUP

Group numbers with VLOOKUP


VLOOKUP

If cell contains one of many things


INDEX MATCH ISNUMBER SEARCH

INDEX and MATCH with multiple criteria


INDEX MATCH

Join tables with INDEX and MATCH


INDEX MATCH

Lookup and sum column


INDEX MATCH SUM

Lookup entire column


INDEX MATCH

Lookup entire row


INDEX MATCH

Lookup last le version


LOOKUP ISNUMBER FIND

Lookup latest price


LOOKUP

Lookup lowest value


INDEX MATCH MIN

Lookup up cost for product or service


VLOOKUP
5.7k
Shares

https://exceljet.net/formulas 12/25
8/4/2017 500 Excel Formula Examples | Exceljet

Lookup with variable sheet name


VLOOKUP INDIRECT

Map inputs to arbitrary values


VLOOKUP CHOOSE

Map text to numbers


VLOOKUP

Match rst error


MATCH ISERROR

Match next highest value


INDEX MATCH

Max if criteria match


MAX IF

Merge tables with VLOOKUP


VLOOKUP

Multiple chained VLOOKUPs


VLOOKUP IFERROR

Multiple matches in comma separated list


TEXTJOIN

Next largest match with the MATCH function


INDEX MATCH

Partial match against numbers with wildcard


MATCH TEXT

Partial match with VLOOKUP


VLOOKUP

Position of rst partial match


MATCH INDEX

Position of max value in list


MAX MATCH

Related info for max value in range


5.7k
Shares

https://exceljet.net/formulas 13/25
8/4/2017 500 Excel Formula Examples | Exceljet

MAX MATCH INDEX

Self-contained VLOOKUP
VLOOKUP

Sum lookup values using SUMIF


SUMIF SUMPRODUCT

Sum range with INDEX


INDEX SUM

Two-way lookup with INDEX and MATCH


INDEX MATCH

Two-way lookup with VLOOKUP


VLOOKUP MATCH

VLOOKUP by date
VLOOKUP

VLOOKUP from another sheet


VLOOKUP

VLOOKUP from another workbook


VLOOKUP

VLOOKUP with 2 lookup tables


VLOOKUP

VLOOKUP with multiple critiera


VLOOKUP

VLOOKUP with numbers and text


VLOOKUP

VLOOKUP with two client rates


VLOOKUP

VLOOKUP without #N/A error


VLOOKUP IFERROR

If
5.7k
Shares

https://exceljet.net/formulas 14/25
8/4/2017 500 Excel Formula Examples | Exceljet

Force negative numbers to zero


MAX

If cell begins with x, y, or z


SUM COUNTIF

If cell contains
IF

if cell contains this or that


COUNTIF SUM

If cell equals
IF

If cell is blank
IF ISBLANK

If cell is greater than


IF

If cell is not blank


IF ISBLANK NOT

If cell is this OR that


IF OR

If cell is x or y and z
IF OR AND

If else
IF

If NOT this or that


IF OR NOT

If this AND that


IF AND

Invoice status with nested if


IF TODAY

Nested IF function example


5.7k
Shares

https://exceljet.net/formulas 15/25
8/4/2017 500 Excel Formula Examples | Exceljet

IF

Tax rate calculation with xed base


IF

Win loss points calculation


VLOOKUP IF

Conditional formatting

Highlight 3 smallest values with criteria


SMALL AND

Conditional formatting dates overlap


SUMPRODUCT

Conditional formatting gantt chart


AND

Conditional formatting gantt chart weekends


WEEKDAY

Conditional formatting highlight target percentage

Conditional formatting numbers that include symbols


ISNUMBER MID

Conditional formatting unprotected cells


CELL

Find duplicate values in two columns


COUNTIF AND

Highlight approximate match lookup conditional formatting


LOOKUP OR AND

Highlight blank cells


ISBLANK LEN

Highlight bottom values


SMALL

5.7k Highlight cells that begin with


Shares

https://exceljet.net/formulas 16/25
8/4/2017 500 Excel Formula Examples | Exceljet

COUNTIF FIND IFERROR

Highlight cells that contain


SEARCH FIND ISNUMBER

Highlight cells that contain one of many


SEARCH FIND ISNUMBER SUMPRODUCT

Highlight cells that end with


COUNTIF RIGHT LEN EXACT

Highlight cells that equal


EXACT

Highlight column differences


EXACT NOT

Highlight data by quartile


QUARTILE

Highlight dates between


DATE AND

Highlight dates greater than


DATE

Highlight dates in same month and year


DATE TEXT

Highlight dates in the next N days


TODAY AND

Highlight dates that are weekends


WEEKDAY OR

Highlight duplicate columns


SUMPRODUCT COUNTIF

Highlight duplicate rows


COUNTIFS COUNTIF SUMPRODUCT

Highlight duplicate values


COUNTIF
5.7k
Shares

https://exceljet.net/formulas 17/25
8/4/2017 500 Excel Formula Examples | Exceljet

Highlight entire rows

Highlight every other row


ISEVEN ISODD ROW MOD

Highlight integers only


MOD

Highlight multiples of speci c value


MOD

Highlight row and column intersection exact match


OR AND

Highlight rows that contain


SEARCH FIND

Highlight rows with blank cells


COUNTBLANK

Highlight rows with dates between


DATE AND

Highlight top values


LARGE

Highlight unique values


COUNTIF

Highlight values between


AND

Highlight values greater than

Highlight values not between X and Y


AND NOT

Highlight values that don't exist


COUNTIF

Shade alternating groups of n rows


ROW CEILING ISEVEN ISODD

5.7k
Shares

https://exceljet.net/formulas 18/25
8/4/2017 500 Excel Formula Examples | Exceljet

Data validation

Data validation allow numbers only


ISNUMBER

Data validation allow text only


ISTEXT

Data validation allow uppercase only


UPPER EXACT AND

Data validation allow weekday only


YEAR TODAY

Data validation contains speci c text


FIND ISNUMBER

Data validation date in next 30 days


AND TODAY

Data validation date in speci c year


YEAR TODAY

Data validation don't exceed total


SUM

Data validation exists in list


COUNTIF

Data validation must begin with


EXACT LEFT COUNTIF

Data validation must not contain


ISNUMBER SEARCH SUMPRODUCT

Data validation must not exist in list


COUNTIF

Data validation only dates between


AND DATE

Data validation require unique number


AND ISNUMBER COUNTIF
5.7k
Shares

https://exceljet.net/formulas 19/25
8/4/2017 500 Excel Formula Examples | Exceljet

Data validation unique values only


COUNTIF

Rank

Rank function example


RANK

Rank race results


RANK

Round

Get decimal part of a number


TRUNC

Get integer part of a number


TRUNC INT

Get number at place value


MOD

Round a number
ROUND

Round a number down


ROUNDDOWN

Round a number down to nearest multiple


FLOOR

Round a number to n signi cant digits


ROUND LOG10 INT ABS

Round a number to nearest multiple


MROUND

Round a number up
ROUNDUP

5.7k Round a number up to nearest multiple


Shares

https://exceljet.net/formulas 20/25
8/4/2017 500 Excel Formula Examples | Exceljet

CEILING

Round a number up to next half


CEILING

Round a price to end in .99


ROUND

Round by bundle size


CEILING

Round time to nearest 15 minutes


MROUND

Round to nearest 1000


ROUND

Round to nearest 5
MROUND CEILING FLOOR

Date and Time

Add business days to date


WORKDAY NETWORKDAYS

Add days exclude certain days of week


WORKDAY.INTL

Add days to date


DAY

Add decimal hours to time


TIME MOD

Add decimal minutes to time


TIME MOD

Add months to date


EDATE

Add workdays no weekends


WORKDAY.INTL NETWORKDAYS
5.7k
Shares

https://exceljet.net/formulas 21/25
8/4/2017 500 Excel Formula Examples | Exceljet

Add workdays to date custom weekends


WORKDAY.INTL NETWORKDAYS

Add years to date


DATE YEAR MONTH DAY

Assign points based on late time


IF VALUE

Calculate date overlap in days


MAX MIN

Calculate days remaining


TODAY

Calculate elapsed work time


IF MOD

Calculate expiration date


EOMONTH EDATE

Calculate retirement date


EDATE EOMONTH

Calculate years between dates


YEARFRAC INT

Convert date string to date time


DATEVALUE LEFT MID TIMEVALUE

Convert date to Julian format


DATE YEAR TEXT

Convert date to month and year


TEXT

Convert date to text


TEXT

Convert decimal hours to Excel time

Convert decimal minutes to Excel time

5.7k Convert decimal seconds to Excel time


Shares

https://exceljet.net/formulas 22/25
8/4/2017 500 Excel Formula Examples | Exceljet

Convert text date dd/mm/yy to mm/dd/yy


DATE LEFT MID RIGHT TRIM

Convert text to date


DATE LEFT MID RIGHT

Convert time to time zone


MOD

Count birthdays by month


SUMPRODUCT MONTH

Count day of week between dates


WEEKDAY ROW INDIRECT SUMPRODUCT

Count holidays between two dates


SUMPRODUCT

Count times in a speci c range


COUNTIFS TIME

Create date range from two dates


TEXT IF

Custom weekday abbreviation


WEEKDAY CHOOSE

Date is same month


MONTH

Date is same month and year


MONTH YEAR

Date is workday
WORKDAY WORKDAY.INTL

Days in month
DAY EOMONTH

Days until expiration date

Display the current date


TODAY
5.7k
Shares

https://exceljet.net/formulas 23/25
8/4/2017 500 Excel Formula Examples | Exceljet

Display the current date and time


NOW

Extract date from a date and time


INT TRUNC

Extract time from a date and time


MOD

Get age from birthday


INT TODAY YEARFRAC

Get date from day number


DATE RIGHT LEFT

Get day from date


DAY

Get day name from date


WEEKDAY CHOOSE

Get days before a date


TODAY

Get days between dates


TODAY DAYS

Get days between dates ignoring years


DATEDIF

Get days, hours, and minutes between dates


INT TEXT

Get days, months, and years between dates


DATEDIF

Get rst day of month


DAY

Get rst day of previous month


EOMONTH

Get rst Monday before any date


5.7k
Shares

https://exceljet.net/formulas 24/25
8/4/2017 500 Excel Formula Examples | Exceljet

WEEKDAY

Get scal quarter from date


MONTH CHOOSE

Get last day of month


EOMONTH DATE

Get last weekday in month


EOMONTH WEEKDAY

Get last working day in month


WEEKDAY EOMONTH

Get month from date


MONTH DATE

Get month name from date


MONTH CHOOSE TEXT

Get months between dates


DATEDIF

Get most recent day of week


MOD

Get next day of week


WEEKDAY

Get nth day of week in month


DAY WEEKDAY

Get nth day of year


DATE YEAR

Get percent of year complete


YEARFRAC YEAR DATE

Get quarter from date


MONTH ROUNDUP

Get same date next month


EDATE
5.7k
Shares

https://exceljet.net/formulas 25/25

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy