The guide is titled Excel Formulas Bible and is relevant for Excel 365/Excel 2021.
Updated to include Dynamic Arrays and many new formulas.
Document is copyright free.
Free to distribute and use without permission.
Contact for queries: Vijay A. Verma at e@eforexcel.com.
The document covers a wide range of formulas organized into numbered topics, including:
SUM Calculations
Date and Time Functions
Text Manipulation
Statistical Functions
Financial Functions
Conditional Calculations
To calculate the sum of digits in a cell that contains only numbers use:
=SUM(--MID(A1,SEQUENCE(LEN(A1)),1))
Utility of other implementations like SUMPRODUCT may also work for similar results.
Formulas can return a sum of digits while ignoring non-numeric characters:
Variants available using SUMPRODUCT.
Enclose in IFERROR to manage empty cell entries effectively.
Formula to check for duplicates in a range (e.g., A1:A1000):
=MAX(COUNTIF(A1:A1000,A1:A1000))
Returns 1 for uniqueness and anything above indicates duplicates.
To find the last day of the month given a date in A1:
=EOMONTH(A1,0)
For the first day:
=A1-DAY(A1)+1
To calculate EMIs, utilize the PMT function format:
=PMT(rate, nper, pv, [fv], [type])
Example for interest portion calculation:
=IPMT(rate, per, nper, pv, [fv], [type])
To generate a unique list from duplicates in a range, use:
=UNIQUE(A2:A100)
Older techniques may involve nested INDEX/MATCH combinations.
To compute age based on a birthday in A1:
=DATEDIF(A1,TODAY(),"y")&" Years "&DATEDIF(A1,TODAY(),"ym")&" Months "&DATEDIF(A1,TODAY(),"md")&" Days"
Example of counting entries meeting certain criteria using COUNTIFS.
The formula logic can be adjusted for dynamic criteria, e.g.
=SUM(COUNTIFS(A2:A10, "criteria1", B2:B10, "criteria2"))
To generate non-repeating random numbers between specific bounds, use:
=INDEX(UNIQUE(RANDARRAY(30-1+1,,1, 30, TRUE)), SEQUENCE(10))
Each section combines specific purpose formulas, providing flexibility and utility across various tasks in Excel including finance, text manipulation, data management, and problem-solving with analytics.
Resources and supplementary downloads can greatly enhance practical applications of the formulas in live projects and personal use.