Excel Functions
Excel Functions
Akhand Pratap
Akhand Pratap
Output Note
65
A
8
Com
mpute
ter
4 Find is case sensitive
10
4 Search is not case sensitive
10
Compuppp REPLACE(old_text,startnum,numchars,new_text)
Computer game SUBSTITUTE(text,old_text,new_text,instance_num(optional))
TRUE exact compare 2
MY COMPUTER Remove unwanted space
CPUCPU this function repeat text
MY CPU
Akhand
Akhand
SUM 284
COUNT 204
AVERAGE 406
MAX 410
MIN 201
424
350
163
320
263
479
391
SUM 3895
COUNT 12
AVERAGE 324.5833
MAX 479
MIN 163
IF, AND, OR
Commission Table
Salesperson Seat Covers LED lamps
Arjun Khatri ₹ 94,524 ₹ 45,793
Deepak Ahuja ₹ 76,645 ₹ 28,165
Anuj Anand ₹ 26,791 ₹ 85,320
AND Devaang Patel ₹ 65,693 ₹ 79,914
Sunil Agarwal ₹ 24,451 ₹ 34,470
Alia Goel ₹ 88,519 ₹ 32,406
Mukesh Jain ₹ 81,629 ₹ 49,354
Ramakrishnana Red ₹ 72,642 ₹ 79,067
Divya Bakshi ₹ 83,228 ₹ 57,876
Keshav Babu ₹ 64,737 ₹ 98,614
*If sales amount is more then 50,000 for each product then 2% commission
Commission Table
Salesperson Seat Covers LED lamps
Arjun Khatri ₹ 94,524 ₹ 45,793
Deepak Ahuja ₹ 76,645 ₹ 28,165
Anuj Anand ₹ 26,791 ₹ 85,320
OR Devaang Patel ₹ 65,693 ₹ 79,914
Sunil Agarwal ₹ 24,451 ₹ 34,470
Alia Goel ₹ 88,519 ₹ 32,406
Mukesh Jain ₹ 81,629 ₹ 49,354
Ramakrishnana Red ₹ 72,642 ₹ 79,067
Divya Bakshi ₹ 83,228 ₹ 57,876
Keshav Babu ₹ 64,737 ₹ 98,614
*If sales amount is more then 50,000 for any 1 product then 2% commission
Target 100,000
=IF(E6>=100000,E6*2%,"Work Hard")
commission
ission Table
Alloy Wheels Total Sales Commission
₹ 23,168 ₹ 163,485 Work Hard IF(AND(E25>=50000,F25>=50000,G25>50000),H25*2%,"
₹ 99,316 ₹ 204,126 Work Hard
₹ 23,533 ₹ 135,644 Work Hard
₹ 81,914 ₹ 227,521 ₹ 4,550
₹ 20,408 ₹ 79,329 Work Hard
₹ 82,818 ₹ 203,743 Work Hard
₹ 34,127 ₹ 165,110 Work Hard
₹ 27,828 ₹ 179,537 Work Hard
₹ 95,206 ₹ 236,310 ₹ 4,726
₹ 35,131 ₹ 198,482 Work Hard
ission Table
Alloy Wheels Total Sales Commission
₹ 23,168 ₹ 163,485 ₹ 3,270 IF(OR(E48>=50000,F48>=50000,G48>=50000),H48*2%,
₹ 99,316 ₹ 204,126 ₹ 4,083
₹ 23,533 ₹ 135,644 ₹ 2,713
₹ 81,914 ₹ 227,521 ₹ 4,550
₹ 20,408 ₹ 79,329 Work Hard
₹ 82,818 ₹ 203,743 ₹ 4,075
₹ 34,127 ₹ 165,110 ₹ 3,302
₹ 27,828 ₹ 179,537 ₹ 3,591
₹ 95,206 ₹ 236,310 ₹ 4,726
₹ 35,131 ₹ 198,482 ₹ 3,970
Description: COUNTIF: It allows users to count the number of cells within a range th
The COUNTIFS function applies criteria to cells across multiple ranges and counts the number of
Description: AVERAGEIF: Returns the average (arithmetic mean) of all the cells in a range that m
AVERAGEIFS: Returns the average (arithmetic mean) of all cells that meet multiple c
AVERAGE: Only numeric values are included in the calculation
AVERAGEA: Non-numeric values like text and logical values are
Month Sales
January 2837
February 1386
Aniket 345.4
Aman 370
Arti 196.25
AverageIFS Function
Date Product Store
2/4/2012 Juice - AQN Store 2
1/4/2012 Wine - SJM Store 1
4/4/2012 Juice - RXO Store 2
6/4/2012 Juice - BTF Store 3
5/4/2012 Wine - FVT Store 2
1/4/2012 Soda - QFF Store 3
7/4/2012 Beer - NIM Store 2
With Multiple Conditions: Focus on Dates used in " " . That is Conditions
Method 2: 103
{=SUM(SUMIFS(D5:D25,C5:C25,C11:C12,B5:B25,B5))}
NTIF(range, criteria)
NTIFS(criteria_range1, criteria1, [criteria_range2, criteria2]…)
OUNTA function counts the number of cells that are not empty in a range.
to count the number of cells within a range that meet a specific criterion or condition.
riteria to cells across multiple ranges and counts the number of times all criteria are met.
=COUNTIF(E41:E48, "East")
=COUNTIF(H41:H48,">20")
s the average (arithmetic mean) of all the cells in a range that meet a given criteria.
s the average (arithmetic mean) of all cells that meet multiple criteria.
numeric values are included in the calculation.
numeric values like text and logical values are included, where text is treated as 0, TRUE
AVERAGEA
0 1161
1161 1643
1643 1380
1380 2579
2579 2420
2420 2107
2107 1289
1289 1788
1788 1800
1800
=AVERAGE(D76:D87)
=AVERAGEA(D76:D87)
AverageIF Function
Sales
$13,084
$20,582
$48,001
$40,594
$42,154
$5,460
$37,976
$39,011
$40,840
$40,202
$20,750
$34,877
$42,906
$34,359
$11,938
$43,849
$6,197
$38,351
$11,912
$23,837
345.4
Sales
$ 392.00
$ 162.00
$ 540.00
$ 75.00
$ 406.00
$ 57.00
$ 690.00
$ 377.00
$ 56.00
$ 600.00
$ 551.00
$ 308.00
$ 660.00
$ 840.00
$ 160.00
$ 132.00
$ 667.00
$ 75.00
$ 729.00
$ 440.00
$ 399.00
$ 84.00
$ 189.00
$ 475.00
$ 243.00
$ 380.00
$ 121.00
$ 870.00
$ 114.00
$ 506.00
$ 187.00
$ 319.00
$ 66.00
$ 391.00
$ 625.00
$ 336.00
$ 29.00
$ 187.00
$ 209.00
$ 460.00
$ 459.00
$ 152.00
eria1, [criteria_range2, criteria2], ...)
B25,B5) + SUMIFS(D5:D25,C5:C25,C12,B5:B25,B5)
ndia and US) in place of 1.
m/watch?v=3BnvDPQk9o0&list=LL
r condition.
first sholud be A.
last sholud be A.
Product Wine
Product *Wine*
Store Store 1
Hlookup
The Excel HLOOKUP function finds and retrieve a value from data in a horizontal table.
Salesperson Commission
Harley Fritz $1,239
Difference Between Xlookup and Vl
1 Error Handling: XLOOKUP handles errors better with built-in mechanisms.
Flexibility: XLOOKUP is more versatile as it can search both horizontally an
2 row.
3 XLOOKUP can look for values to the left and right of the lookup array, whil
Xlookup
MATCH will give you position of Search item from a single column.
Index mai jo tumhe output chahiye vo select karo. jaise ki tumhe name chahiye to name w
match karna hai uske cell ko select karo. eg. customer id number 9832, ab comma laga ka
ho gaya.
With DataValidation
Salesperson Commission
Harley Fritz $1,239 =VLOOKUP(H8,B8:F29,5,FALSE())
num, [range_lookup])
Ivan Hines Jonah Higgins Jordan Boone Kylee Townsend Nora Rollins
109543 120497 122907 98326 88493
7/10/2022 7/13/2022 7/15/2022 7/12/2022 7/14/2022
$9,182 $10,467 $2,446 $2,691 $2,960
$1,836 $2,093 $489 $538 $592
e left and right of the lookup array, while VLOOKUP is limited to only looking for values to the right of the lookup value column.
Xlookup
Salesperson Commission
Harley Fritz $1,239 =_xlfn.xlookup(H58,F57:F78,E57
a single column.
name chahiye to name wali row select karo, ab baari aati hai MATCH ki to tumhe select karna haai ki kisko
9832, ab comma laga kai ab ye customer id kaha milegi usko select karo pura column then exact match.
Profit 787
LOOKUP(H8,B8:F29,5,FALSE())
Steven Michael Lucia Mckay Josue Roach Franklin Wright Alia Thornton Denzel Flores
97343 99289 79432 71488 78637 80210
7/9/2022 7/13/2022 7/16/2022 7/18/2022 7/15/2022 7/17/2022
$3,256 $3,582 $3,940 $4,334 $4,767 $5,244
$651 $716 $788 $867 $953 $1,049
lfn.xlookup(H58,F57:F78,E57:E78)
{=_xlfn.xlookup(H64,F57:F78,D57:E78)}
=INDEX(C92:C109,MATCH(K95,B92:B109,0))
MATCH
=MATCH(K99,B92:B107,0)
Bruno Cordova Jaylynn Knapp Bruce Rich Arturo Moore Bryce Carpenter
64168 57751 63526 64797 51837
7/12/2022 7/16/2022 7/19/2022 7/21/2022 7/18/2022
$5,768 $5,192 $6,749 $8,774 $11,406
$1,154 $1,038 $1,350 $1,755 $2,281
Jaidyn Andersen Bill Smith
46654 51319
7/20/2022 7/15/2022
$6,650 $7,341
$1,330 $1,468