Functions New
Functions New
₹ 100,000 ₹ 7,000
₹ 200,000 ₹ 14,000
₹ 300,000 ₹ 21,000
₹ 400,000 ₹ 28,000
Questions
1. What is the sum of the sales of all the foods in the “Vegetables” category?
2.What is the sum of the sales of all foods that end in “es” (Tomatoes, Oranges, an
Answer Formula
₹ 63,000 =sumif(C5:C8,">160000",D5:D8)
₹ 900,000 =sumif(C5:C8,">160000",C5:C8)
=sumif(C5:C8,"=300000",C5:C8)
Answer Formula
₹ 8,700 =SUMIF(B14:B17,"Vegetables",D14:D17)
₹ 18,200 =SUMIF(C14:C17,"*es",D14:D17)
Month Date Day Product PRICE
JAN 1/1/2023 Monday Tea $200.00
FEB 1/2/2023 Tuesday Coffee $100.00
MAR 1/3/2023 WednesdaBoost $50.00
APR 1/4/2023 Thursday Sugar $75.00
MAY 1/5/2023 Friday Tea $90.00 Product Tea
JUN 1/6/2023 Saturday Maida $250.00 Month JAN
JAN 1/7/2023 Sunday Tea $300.00
FEB 1/8/2023 Monday Dal $700.00
MAR 1/9/2023 Tuesday Tea $80.00
APR 1/10/2023 WednesdaCoffee $45.00 Product Dal
FEB 1/11/2023 Thursday Dal $654.00 Month Feb
JUN 1/12/2023 Friday Turmeric $546.00
Questions Answer
1. What is the sum of Tea in the month Jan ? ₹ 500
2What is the sum of Dal in the month of Feb? ₹ 1,354
Formula
=SUMIFS(Product[PRICE],Product[Month],I10,Product[Product],I9)
=SUMIF(C14:C17,"*es",D14:D17)
A
Month Date Day Product PRICE Column1 Product Tea
JAN 1/1/2023 Monday Tea $200.00 Maida
FEB 1/2/2023 Tuesday Coffee $100.00
MAR 1/3/2023 WednesdaBoost $50.00 Product Coffee
APR 1/4/2023 Thursday Sugar $75.00
MAY 1/5/2023 Friday Tea $90.00
JUN 1/6/2023 Saturday Maida $250.00
JAN 1/7/2023 Sunday Tea $300.00
FEB 1/8/2023 Monday Dal $700.00
MAR 1/9/2023 Tuesday Tea $80.00
APR 1/10/2023 WednesdaCoffee $45.00
FEB 1/11/2023 Thursday Dal $654.00
JUN 1/12/2023 Friday Turmeric $546.00
Question Values Formula
Count the number of Days for tea 4 =COUNTIF(Product3[Product],I4)
Sum of the Price for Tea 670 =SUMIF(Product3[Product],I4,Product3[PRICE])
SNO IFwithOr
1 My Country
2 n/a
3 n/a
4 n/a
5 n/a
6 n/a
7 My Country
Country Country
Pakistan India
France Pakistan
UK Switzerland
Singapore Japan
Malaysia Singapore
Japan Malaysia
India India
Formula IFwithAnd
=IF(OR(J4="India",K4="India"),"My Country","n/a") n/a
n/a
n/a
n/a
n/a
n/a
My Country
Formula
=IF(OR(J4="India",K4="India"),"My Country","n/a")
Sales Person No. Customers Net Sales Profit / Loss
Joseph 8 1,592 563
John 8 1,088 397
Josh 8 1,680 753
Jamie 9 2,133 923
Jackie 10 1,610 579
Johnson 10 1,540 570
Jonathan 7 1,316 428
Jagjit 7 1,799 709
Jairam 8 1,624 621
Jessy 6 726 236
Javed 9 2,277 966
Jimmy 6 714 221
Juno 9 2,682 1,023
8
2133
Question If we are using lookup value from Sales person then we cannot have a range from C5:F17
Output #N/A
Code =VLOOKUP(D:D,C5:F17,2,0)
Sales Person Joseph John Josh Jamie Jackie
No. Customers 8 8 8 9 10
Net Sales 1,592 1,088 1,680 2,133 1,610
Profit / Loss 563 397 753 923 579
HLookUp
Questions Answer Formula
Looking for Jackie(q4) profit/loss 579.117 =HLOOKUP(Q4,M4:Y7,4,0)
Formula
=VLOOKUP(C4:C14,Table4[#All],5,0)
Sales Person Region No. Customers Net Sales Profit / Loss
Joseph East 8 ₹ 1,592 ₹ 562.77
John East 8 ₹ 1,088 ₹ 396.90
Josh North 8 ₹ 1,680 ₹ 752.64
Jamie South 9 ₹ 2,133 ₹ 922.74
Jackie South 10 ₹ 1,610 ₹ 579.12
Johnson West 10 ₹ 1,540 ₹ 569.80
Jonathan East 7 ₹ 1,316 ₹ 427.57
Jagjit West 7 ₹ 1,799 ₹ 708.81
Jairam North 8 ₹ 1,624 ₹ 621.34
Jessy South 6 ₹ 726 ₹ 235.88
Javed North 9 ₹ 2,277 ₹ 965.68
Jimmy East 6 ₹ 714 ₹ 220.98
Juno West 9 ₹ 2,682 ₹ 1,023.18
No. Customers Average of Net Sales
6 ₹ 720
7 ₹ 1,558
8 ₹ 1,496
9 ₹ 2,364
10 ₹ 1,575
Total Result ₹ 1,599
Date Net Sales Weekday Weekday
2/1/2021 ₹ 1,592 Monday =WEEKDAY(C4,1) Sunday
2/8/2021 ₹ 1,088 Monday
2/13/2021 ₹ 1,680 Saturday Monday
2/18/2021 ₹ 2,133 Thursday
2/27/2021 ₹ 1,610 Saturday Tuesday
3/2/2021 ₹ 1,540 Tuesday
3/5/2021 ₹ 1,316 Friday Wednesday
3/9/2021 ₹ 1,799 Tuesday
3/13/2021 ₹ 1,624 Saturday
3/24/2021 ₹ 726 This shape represents a slicer.
Wednesday Thursday
3/28/2021 ₹ 2,277 Slicers are supported in Excel
Sunday
2010 or later.
3/30/2021 ₹ 714 Tuesday Friday
3/31/2021 ₹ 2,682 Wednesday
If the shape was modified in
4/28/2021 ₹ 1,799 Wednesday
an earlier version of Excel, or
4/30/2021 ₹ 1,624 if the Friday
workbook was saved in Saturday
4/21/2021 ₹ 726 Excel 2003 or earlier, the
Wednesday
slicer cannot be used.
Total Result
1 2
Months Average of Net Sales
₹ 2,277
Mar ₹ 2,277
₹ 1,340
Feb ₹ 1,340
₹ 1,351
Mar ₹ 1,351
₹ 1,483
Mar ₹ 1,704
Apr
Average closing price
₹ 1,263
₹ 2,133
Feb ₹ 2,133
₹ 1,470
Mar ₹ 1,316
Apr ₹ 1,624
₹ 1,638
Feb ₹ 1,645
Mar ₹ 1,624
₹ 1,558
1 2 3 4 5 6 7
UPPER
easy excel EASY EXCEL
=UPPER(A2)
LOWER
INDUMATHY KAVANDIRAN indumathy kavandiran
=LOWER(A7)
PROPER CASE
induMathy kavanDiran Indumathy Kavandiran
=PROPER(A12)
len
I love India 12
=LEN(A16)
left
Mathematics Math
=LEFT(A20,4)
right
Mathematics tics
=RIGHT(A24,4)
mid
Mathematimatics matim
=MID(A28,6,5)
trim
Mathe matics Mathe matics
=TRIM(A32)
find
Coffee 5
=FIND("e",A36)
search
Coffeco 1
=SEARCH("c",A39)
Replace
Indumathy Indunilaa
=REPLACE(A43,5,5,"nilaa")
Substitute
Horror Herrer
=SUBSTITUTE(A48,"or","er")
Converts all the letter to camel case
Converts only the first letter to upper case & remaining to lower case
Extract from the mid starting index till the number character we give
FV = Future value
Home Depot Quarterly Report