All Function
All Function
SALESMAN CODE NO. MAY JUNE JULY AUGUST TOTAL (su AVERAGE COMMISSION
A001 5700 3600 4500 5600 19400 4850 1940 4850
A002 5600 5000 4800 4800 20200 5050 5050
A003 7500 4100 5300 5800 22700 5675 5675
A004 3400 5600 2800 5600 17400 4350 1740
A005 6700 4700 7400 4700 23500 5875 5875
A006 jhg 8400 7900 6400 22700 7566.667 5675
A007 3700 3900 6700 4300 18600 4650 1860
count 6
counta 8
Understanding these different types of cell references will help you work with formulas and save time (especially w
erence, e.g., $B$4, Here if we mention a dollar sign before the column and row identifiers,
ains constant even if it copied or dragged to another cell.
Mixed Reference
Discount Discount
Amt 10% 15% 1% 2% 3% 4% 5%
80000 8000 12000 1000 10 20 30 40 50
805000 80500 120750 2000 20 40 60 80 100
200000 20000 30000 3000 30 60 90 120 150
1260000 126000 189000 4000 40 80 120 160 200
650000 65000 97500 5000 50 100 150 200 250
500000 50000 75000 6000 60 120 180 240 300
10%
Amount Commission 1 2 3 4 5 6 7 8 9
9000 900 900 2 4 6 8 10 12 14 16 18
14400 1440 1440 3 6 9 12 15 18 21 24 27
8250 825 4 8 12 16 20 24 28 32 36
3600 360 5 10 15 20 25 30 35 40 45
9000 900 6 12 18 24 30 36 42 48 54
7200 720 7 14 21 28 35 42 49 56 63
8 16 24 32 40 48 56 64 72
9 18 27 36 45 54 63 72 81
10 20 30 40 50 60 70 80 90
10 11
20 22
30 33
40 44
50 55
60 66
70 77
80 88
90 99
100 110
Sr.No Product City Sales Rep Sales Qty Rate Amount
1 Mobile Mumbai Swati 25 18900 1 count how many time mobile is repeated
2 Camera Kolkata Anjali 28 34700 971600 countif 3
3 Laptop Pune Neha 10 28700 287000
4 Speaker Mumbai Savitri 25 46200 1155000 2 count how many time pune is repeated
5 AC Amritsar Jassi 17 43500 739500 countif 8
6 TV Pune Prajakta 29 39600 1148400
7 Speaker Kochi Swarupa 27 11200 302400 3 calculate total sales qty of mobile calculate average sales qt
8 AC Pune Neha 7 31500 220500 sumif 58 58 averageif
9 AC Lucknow Afreen 7 37700 263900
10 TV Kolkata Kiran 13 13500 175500 4 calculate total of sales qty which is greater than 15
11 Speaker Mumbai Archana 25 19900 497500 Sumif 583 583
12 Computer Mumbai Swati 22 21100 464200
13 Camera Jalandhar Jassi 29 13600 394400 5 count Product mobile from Mumbai city which sales qty is greater than 1
14 Laptop Mumbai Swati 25 33400 835000 countifs 2
15 Speaker Kolkata Anjali 30 28700 861000
16 Computer Pune Neha 15 34100 511500 6 give total of sales qty of Product mobile from Mumbai city which sales q
17 TV Mumbai Savitri 27 31600 853200 sumifs 45
18 Speaker Kanpur Seeta 7 20300 142100
19 Computer Lucknow Radhika 15 29500 442500 7 give average of amt of product computer sold by neha
20 Computer Amritsar Hema 21 33200 697200 averageifs 647900
21 Mobile Mumbai Swati 20 37700 754000
22 Camera Kolkata Anjali 24 22800 547200 8 countblank 0 There is no Blank cells in table
23 Laptop Pune Neha 24 13400 321600
24 Speaker Mumbai Savitri 30 12500 375000
25 Computer Patiala Jassi 19 30800 585200 9 Calcalute total and average Sales amount of laptop From Mumbai city w
26 TV Pune Prajakta 6 22500 135000 sumifs averageifs
27 Mobile thrissur Swarupa 13 20500 266500
28 Camera Pune Neha 5 28700 143500
29 Laptop Kanpur Afreen 22 45600 1003200
30 Speaker Kolkata Kiran 8 22100 176800
31 Laptop Mumbai Archana 18 36900 43000
32 Speaker Kolkata Anjali 22 28700 631400
33 Computer Pune Neha 23 34100 784300
34 TV Mumbai Savitri 12 31600 379200
35 Speaker Kanpur Seeta 24 20300 487200
36 Computer Lucknow Radhika 27 29500 796500
count 36
counta 36
count numbers
counta no & albh
calculate average sales qty of mobile countif
19.33333 sumif
averageif
>15 countifs
sumifs
averageifs
h sales qty is greater than 10
Count each division region wise Calculate total profit of each division region wise
Type criteria manually Type criteria manualy
East West East West
A A
B B
each division region wise Calculate average profit of each division region wise
Type criteria manualy
East West
A
B
The Excel DATEDIF function returns the difference between two date values in years, months, or days.
The DATEDIF (Date + Dif) function is a "compatibility" function that comes from Lotus 1-2-3. For reasons unknown,
it is only documented in Excel 2000, but you can use it in your formulas in all Excel versions since that time.
age
year 9
months 117
day 3573
To calculate end date of a task from the no of days given from a par(same , but as per country weeken
workday workday.intl
start date day end date end date
8/21/2025 10 9/4/2025 #NAME?
workday workday.intl
start date day end date end date
8/21/2025 30 10/2/2025 #NAME?
8/21/2025 21
August
4/25/2024
5/1/2024
4/29/2024
wing from current date combine date from extract date which is weekday number of
(use cell F9, G9 and H9) current date (cell J9)
year date weekday
2025 8/21/2025 5
ths, or days.
3. For reasons unknown,
s since that time.
eomonth
o calculate end date by no of months same as edate only gives us end date of the month
iven from a particular date calculates the end of month by no of months given from a particular date
Holidays
1/26/2022 Republic Day To calculate the no of work days for a task
3/1/2022 Maha Shivratri
3/18/2022 Rangwali Holi start date end date
4/2/2022 Gudi Padwa 8/21/2025 9/5/2025
4/10/2022 Rama Navami
4/14/2022 Ambedkar Jayanti
4/15/2022 Good Friday
5/1/2022 Maharashtra Day start date end date
5/2/2022 Eid al-Fitr 8/21/2025 9/20/2025
7/9/2022 Eid al-Adha
8/15/2022 Indian Independence Day
8/31/2022 Gandhi Jayanti
10/5/2022 Dussehra
10/8/2022 Prophet's Birthday
10/24/2022 Diwali
10/25/2022 Bhai Dooj
11/8/2022 Guru Nanak Gurpurab
12/25/2022 Christmas Day
which is week number of
current date (cell J9)
weeknum
34
networkdays networkdays.intl
22 #NAME?
Name len (length of text) trim len
subhangi pandey 25 subhangi pandey 15
dharsti shah 22 dharsti shah 12
manju yadav 17 manju yadav 11
ranjana aCharekar 27 ranjana aCharekar 17
azar Sayed 25 azar Sayed 10
concatenate
Subhangi Pandey
Dharsti Shah
Manju Yadav
Ranjana Acharekar
Azar Sayed
replace
green grey grey
cool tool tool
took talk talk
substitute
bubble tuttle Substitute all be
bubble burble Substitute second instant
Bubble Buttle
exact
Jam Jam TRUE
0
rept
5 $$$$$
6 $$$$$$
3 $$$
2 $$
8 $$$$$$$$
char code
66 B t
99 c 6
55 7
I
discount on amt discount
Product City Sales Rep Sales Qty Rate Amt sales qty >15 discount discount Nested if amt and
Mobile Mumbai Swati 9 18900 150000 5% 7500 2% 3000 FALSE
Camera Kolkata Anjali 13 34700 451100 5% 22555 7% 31577 FALSE
Laptop Pune Neha 10 36000 600000 5% 30000 10% 60000 TRUE
Speaker Mumbai Savitri 15 46200 693000 5% 34650 10% 69300 FALSE
AC Amritsar Jassi 1 43500 43500 5% 2175 0% 0 FALSE
TV Pune Prajakta 8 39600 316800 5% 15840 5% 15840 FALSE
Speaker Kochi Swarupa 15 11200 168000 5% 8400 2% 3360 FALSE
AC Pune Neha 17 31500 535500 17 20% 107100 9% 48195 FALSE
AC Lucknow Afreen 12 37700 452400 5% 22620 7% 31668 FALSE
TV Kolkata Kiran 23 13500 310500 23 20% 62100 5% 15525 FALSE
Speaker Mumbai Archana 8 19900 159200 5% 7960 2% 3184 FALSE
Computer Mumbai Swati 17 21100 358700 17 20% 71740 5% 17935 FALSE
Camera Jalandhar Jassi 17 13600 231200 17 20% 46240 3% 6936 FALSE
Laptop Mumbai Swati 15 33400 501000 5% 25050 9% 45090 TRUE
Speaker Kolkata Anjali 22 28700 631400 22 20% 126280 10% 63140 FALSE
Computer Pune Neha 5 34100 170500 5% 8525 2% 3410 FALSE
TV Mumbai Savitri 16 31600 505600 16 20% 101120 9% 45504 FALSE
Speaker Kanpur Seeta 9 20300 182700 5% 9135 2% 3654 FALSE
Computer Lucknow Radhika 15 29500 442500 5% 22125 7% 30975 FALSE
Computer Amritsar Hema 10 33200 332000 5% 16600 5% 16600 FALSE
Mobile Mumbai Swati 4 37700 150800 5% 7540 2% 3016 FALSE
Camera Kolkata Anjali 9 22800 205200 5% 10260 3% 6156 FALSE
Laptop Pune Neha 2 13400 26800 5% 1340 0% 0 FALSE
Speaker Mumbai Savitri 16 12500 200000 16 20% 40000 3% 6000 FALSE
Computer Patiala Jassi 6 30800 184800 5% 9240 2% 3696 FALSE
TV Pune Prajakta 6 22500 135000 5% 6750 2% 2700 FALSE
Mobile thrissur Swarupa 24 20500 492000 24 20% 98400 7% 34440 FALSE
Camera Pune Neha 12 28700 344400 5% 17220 5% 17220 FALSE
Laptop Kanpur Afreen 11 45600 501600 5% 25080 9% 45144 TRUE
Speaker Kolkata Kiran 1 22100 22100 5% 1105 0% 0 FALSE
Laptop Mumbai Archana 5 36900 184500 5% 9225 2% 3690 FALSE
Speaker Kolkata Anjali 22 28700 631400 22 20% 126280 10% 63140 FALSE
Computer Pune Neha 5 34100 170500 5% 8525 2% 3410 FALSE
TV Mumbai Savitri 16 31600 505600 16 20% 101120 9% 45504 FALSE
Speaker Kanpur Seeta 9 20300 182700 5% 9135 2% 3654 FALSE
Computer Lucknow Radhika 15 29500 442500 5% 22125 7% 30975 FALSE
stars (if(and)) or if(or) xor if(xor) if(not)
if
if sales qty is greater than 15 then show that qty, if sales qty less than 15 then show blank.
* if sales qty is greater than 15 then give 20% discount else give 5%
nested if
gift if amt is
discount will be
<100000 0
<200000 2%
<300000 3%
<400000 5%
<500000 7%
<600000 9%
* gift 10%
if and
if product is laptop and amt is greater than 300000 than give 5 stars else give 1 star
if or
gift if sales qty is greater than 20 or amt is greater than 500000 then give
gift else keep it blank( "")
if xor
if sales qty is greater than 20 or amt is greater than 500000 then give
gift gift else keep it blank( "")
if sales qty is not greater than 15
if not
if sales qty is not greater than 15
*
s than 15 then show blank.
if salary is greater than 30000 than salary is 'C', if salary is greater than 20000, than grade is 'B', if salary is above 10000, than gread is 'A' eles no grade
cell address col content filename
sheet
sheets
Sr.No. Product City Sales Rep Sales Qty Rate Amount Product City Sales Rep Sales Qty Rate Amount
1 Mobile Mumbai Swati 25 18900 472500
2 Camera Kolkata Anjali 28 34700 971600
3 Laptop Pune Neha 10 28700 287000
4 Speaker Mumbai Savitri 25 46200 1155000
5 AC Amritsar Jassi 17 43500 739500 dcount dmin
6 TV Pune Prajakta 29 39600 1148400 Rate amount
7 Speaker Kochi Swarupa 27 11200 302400
8 AC Pune Neha 7 31500 220500 dcounta dmax
9 AC Lucknow Afreen 7 37700 263900 Product amount
10 TV Kolkata Kiran 13 13500 175500
11 Speaker Mumbai Archana 25 19900 497500 dsum
12 Computer Mumbai Swati 22 21100 464200 Amount
13 Camera Jalandhar Jassi 29 13600 394400
14 Laptop Mumbai Swati 25 33400 835000 daverage
15 Speaker Kolkata Anjali 30 28700 861000 Amount
16 Computer Pune Neha 15 34100 511500
17 TV Mumbai Savitri 27 31600 853200
18 Speaker Kanpur Seeta 7 20300 142100
19 Computer Lucknow Radhika 15 29500 442500
20 Computer Amritsar Hema 21 33200 697200
21 Mobile Mumbai Swati 20 37700 754000
22 Camera Kolkata Anjali 24 22800 547200
23 Laptop Pune Neha 24 13400 321600
24 Speaker Mumbai Savitri 30 12500 375000
25 Computer Patiala Jassi 19 30800 585200
26 TV Pune Prajakta 6 22500 135000
27 Mobile thrissur Swarupa 13 20500 266500
28 Camera Pune Neha 5 28700 143500
29 Laptop Kanpur Afreen 22 45600 1003200
30 Speaker Kolkata Kiran 8 22100 176800
31 Laptop Mumbai Archana 18 36900 43000
32 Speaker Kolkata Anjali 22 28700 631400
33 Computer Pune Neha 23 34100 784300
34 TV Mumbai Savitri 12 31600 379200
35 Speaker Kanpur Seeta 24 20300 487200
36 Computer Lucknow Radhika 27 29500 796500
Principle Amount (PV) 100000
Interest Rate 9.50% Periods pmt cumulative pmt ipmt cumulative ipmt ppmt
No. of Periods (NPER) 36
1
Periodical payment 2
pmt ₹ 376.44 3
4
Periodical interest amount 5
ipmt ₹ 791.67 6
7
Periodical principal amount 8
ppmt ₹ 2,411.63 9
10
11
pv ₹ 11,751.55 12
13
14
fv ₹ 15,609.24 15
16
17
rate 9.50% 18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
cumalative ppmt
100000