0% found this document useful (0 votes)
32 views

Functions New

Here are the steps to lookup values using VLookup: 1. Define the lookup value in a cell. For example, put "Jackie" in cell Q4. 2. Define the table array with the lookup column as the leftmost column. Here it would be M4:Y7 with "Sales Person" as the leftmost column. 3. Specify the column number in the table from which the return value should be fetched. Here it is column 4 which is the "Profit / Loss" column. 4. Set the range_lookup argument to false (0). So the formula would be: =VLOOKUP(Q4,M4:Y7,4

Uploaded by

rajavinugmailcom
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views

Functions New

Here are the steps to lookup values using VLookup: 1. Define the lookup value in a cell. For example, put "Jackie" in cell Q4. 2. Define the table array with the lookup column as the leftmost column. Here it would be M4:Y7 with "Sales Person" as the leftmost column. 3. Specify the column number in the table from which the return value should be fetched. Here it is column 4 which is the "Profit / Loss" column. 4. Set the range_lookup argument to false (0). So the formula would be: =VLOOKUP(Q4,M4:Y7,4

Uploaded by

rajavinugmailcom
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 37

Property Value Commission

₹ 100,000 ₹ 7,000
₹ 200,000 ₹ 14,000
₹ 300,000 ₹ 21,000
₹ 400,000 ₹ 28,000

Category Food Sales


Vegetables Tomatoes ₹ 7,000
Fruits Apples ₹ 8,500
Vegetables Carrot ₹ 1,700
Fruits Oranges ₹ 2,700
SumIf( ) function:
Questions
Let’s say our boss gives us a couple of questions like:
1.What is the sum of the commissions for Property values over ₹160,000?
2.What is the sum of the property values over ₹160,000?
3.What is the sum of the commissions for property values equal to ₹300,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])

Using Data validation: Drop down Tea 0


Count the number of Days for Dal Coffee
Boost
Sugar
Maida
Dal
Turmeric
Month Date Day Product PRICE
JAN 1/1/2023 Monday Tea $200.00 Product Tea
FEB 1/2/2023 Tuesday Coffee $100.00 Price 200
MAR 1/3/2023 Wednesday Boost $50.00
APR 1/4/2023 Thursday Sugar $75.00
MAY 1/5/2023 Friday Tea $200.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 Wednesday Coffee $45.00
FEB 1/11/2023 Thursday Dal $654.00
JUN 1/12/2023 Friday Turmeric $546.00
Question Values
Count the number of months for tea whose price is ₹200 2
Formula
=COUNTIFS(Product3[Product],I5,Product34[PRICE],"200")
Value1 Value2 IF/AND/OR/NOT
25 75 1
Blue Green Not Matching
Formula SNO
=IF(AND(D15>0,E15<100),TRUE,FALSE) 1
=IF(AND(D16="Red",E16="Green"),"Matching","Not Matching") 2
3
4
5
6
7

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)

e cannot have a range from C5:F17


Johnson Jonathan Jagjit Jairam Jessy Javed Jimmy Juno
10 7 7 8 6 9 6 9
1,540 1,316 1,799 1,624 726 2,277 714 2,682
570 428 709 621 236 966 221 1,023
Sales Pers Joseph John Josh Jamie
No. Custo 8 8 8 9
Net Sales 1,592 1,088 1,680 2,133
Profit / Loss 563 397 753 923
Jackie Johnson Jonathan Jagjit Jairam Jessy Javed Jimmy Juno
10 10 7 7 8 6 9 6 9
1,610 1,540 1,316 1,799 1,624 726 2,277 714 2,682
579 570 428 709 621 236 966 221 1,023
Column2 Column1 Column3 Column4
No. Custo Sales Person Net Sales Profit / Loss
8 Joseph 1,592 563
8 John 1,088 397
8 Josh 1,680 753
9 Jamie 2,133 923 Question
10 Jackie 1,610 579 Output
10 Johnson 1,540 570 Code
7 Jonathan 1,316 428
7 Jagjit 1,799 709
8 Jairam 1,624 621
6 Jessy 726 236 Question
9 Javed 2,277 966 Output
6 Jimmy 714 221 Code
9 Juno 2,682 1,023
If I want to lookup and match Column1 and display the match of column2 then I need two columns
9
=VLOOKUP(C17,CHOOSE({1,2},C5:C17,B5:B17),2,0)

lookup Column1(SalesPerson) and display the match of column4(Profit/Loss)


We can arrange the columns as per our order by giving array index num and ranges
396.9024
=VLOOKUP("John",CHOOSE({1,2,3,4},C5:C17,B5:B17,D5:D17,E5:E17),4,0)
Fetch Data from one sheet to another sheet

Unique ID Name Mark1 Mark2 Average


100 Avantika 95 59 77
101 Arun 65 65 65
102 Swami 78 63 70.5
103 Albert 28 55 41.5
104 Yashodha 97 77 87
105 Ravi 21 30 25.5
106 Kumar 96 90 93
107 Senthil 71 76 73.5
108 Suresh 63 37 50
109 Sowjanya 85 84 84.5
Fetch Data from one sheet to another sheet

Unique ID Name Formula Average


100 Avantika =VLOOKUP(C:C,Table4[#All],2,0) 77
101 Arun 65
102 Swami 70.5
103 Albert 41.5
104 Yashodha 87
105 Ravi 25.5
106 Kumar 93
107 Senthil 73.5
108 Suresh 50
109 Sowjanya 84.5
et to another sheet

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 all the letter to lower case

Converts only the first letter to upper case & remaining to lower case

Counts the number of character in a text

From left it will extract the number of character we want

From right we want 4 charcter to be extracted

Extract from the mid starting index till the number character we give

Removes unwanted space in the text

Finds whether a character is present in a text(Case sensitive)


From left 5th character is e so it is fetching out first e

Finds whether a character is present in a text(not Case sensitive)


From left 1st character is c so it is fetching out first c, though it is "C"
Replace Old character with new one by giving starting index and total
Characters

Easier than replace function.


Give the text to be substituted followed by old text to replace and new
Loan Amt 1000000
Rate of Interest 12% 0.01 =C5/12
Period(yrs) 5
Period(months) 60 =C6*12

EMI ₹ -22,244.45 =PMT(D5,C7,C4)

Principle ₹ -12,244.45 =PPMT(D5,1,C7,C4)

Interest ₹ -10,000.00 =IPMT(D5,1,C7,C4)

Installment is EMI ₹ -22,244.45 =C13+C16


PMT = Total(Principle Amt+ Interest)

PPMT = Principle payment

IPMT = Interest Payment

FV = Future value
Home Depot Quarterly Report

Quarter Date Sales


1 1/1/2018 $ 50,000.00
2 4/7/2018 $ 75,800.00
3 7/1/2018 $ 98,000.00
4 10/7/2018 $ 46,000.00
1 1/1/2019 $ 71,000.00
2 4/7/2019 $ 34,000.00
3 7/1/2019 $ 67,000.00
4 10/7/2019 $ 14,000.00
1 1/1/2020 $ 63,000.00
2 4/7/2020 $ 79,000.00
3 7/1/2020 $ 91,000.00
4 10/7/2020 $ 46,540.00
1 1/1/2021 $ 70,980.00
2 4/7/2021 $ 36,245.00
3 7/1/2021 $ 16,546.00
4 10/7/2021 $ 57,989.00

You might also like