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

Advanced Excel Functions

The document provides various Excel functions and their applications, including XLOOKUP, VLOOKUP, IF, SUMIF, OFFSET, COUNTA, COUNTIF, MATCH, and CONCATENATE, among others. It includes examples of how to use these functions for data lookup, conditional calculations, and data manipulation. Additionally, it demonstrates the use of functions for handling errors and converting units.

Uploaded by

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

Advanced Excel Functions

The document provides various Excel functions and their applications, including XLOOKUP, VLOOKUP, IF, SUMIF, OFFSET, COUNTA, COUNTIF, MATCH, and CONCATENATE, among others. It includes examples of how to use these functions for data lookup, conditional calculations, and data manipulation. Additionally, it demonstrates the use of functions for handling errors and converting units.

Uploaded by

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

# XLOOKUP (2 Way Lookup)

Product Small Medium Large XL XXL


Jeans 18 11 53 26 24
Trouser 22 14 37 13 38
Shirt 33 51 52 16 28
Jackets 32 46 21 9 36
Sweater 19 27 56 15 30

Item Name Shirt


#NAME? =XLOOKUP(C12,B5:B9,XLOOKUP(C14,C4:G4,C5:G9))
Size Large
4,C4:G4,C5:G9))
# VLOOKUP

Product Small Medium Large XL XXL


Jeans 18 11 53 26 24
Trouser 22 14 37 13 38
Shirt 33 51 52 16 28
Jackets 32 46 21 9 36
Sweater 19 27 56 15 30

Product Small Medium Large XL XXL


Shirt 33 51 52 16 28

=VLOOKUP($B13,$B$5:$G$9,COLUMN(B2),0)
# IF | IF-OR | IF-AND

EMP Name Dept Branch Salary 1 2


Debasis Karmakar HelpDesk Hyderabad 29,234.00 0 No
Vidisha Mishra Admin Patna 34,661.00 0 No
Krishna Kanta Gorai HR Mumbai 34,668.00 0 Yes
Kaushik Ganguly Admin Mumbai 45,355.00 0 Yes
Indrajit Bhattacharjee HR Pune 28,044.00 0 Yes
Dhruba Jyoti Das Training Cuttack 22,533.00 0 No
Debu Kayal Sales Cuttack 49,950.00 4995 No
Ajit Kumar Khargaha HelpDesk Kolkata 26,506.00 0 No
Yudhisthir Sukula HR Patna 26,259.00 0 No
Ranjan Kumar Mallik HR Cuttack 42,712.00 0 No
Shubham Sharma Admin Patna 24,911.00 0 No

Conditions:
1. If Department is Sales then output will be 10% of Salary Amount else 0
=IF(C5="Sales",E5*10%,0)

2. If Branch is Mumbai or Branch is Pune then output will be Yes else No


=IF(OR(D5="Mumbai",D5="Pune"),"Yes","No")

3. If Salary is between 30000 and 35000 then output will be Yes else Blank cell
=IF(AND(E5>=30000,E5<=35000),"Yes","")
3

Yes
Yes
# SUMIF

Name Department Gender Monthly Salary Annual Salary


Sunita Roy Support Female 7,300.00 87,600.00
Amit Sana Finance Male 5,600.00 67,200.00
Ajit Baidya IT Male 5,200.00 62,400.00
Atul Sharma IT Male 4,200.00 50,400.00
Debasish Dey Support Male 12,500.00 150,000.00
Manoj Patra Marketing Male 8,700.00 104,400.00
Puja Singh Support Female 5,600.00 67,200.00
Robert Peter Marketing Male 7,100.00 85,200.00
Sumit Sharma Finance Male 9,200.00 110,400.00
Manash Pal Support Male 6,400.00 76,800.00
Sujeta Sen Marketing Female 7,100.00 85,200.00
Calculate
Department Annual Salary
Finance 177,600.00 =SUMIF($C$6:$C$16,H6,$F$6:$F$16)
Marketing 274,800.00
Support 381,600.00
IT 112,800.00
# OFFSET + SUM

Date Day Sales Qty Total Sales Qty


7/3/2023 Monday 31
7/4/2023 Tuesday 32
7/5/2023 Wednesday 18
7/6/2023 Thursday 15
7/7/2023 Friday 19
7/10/2023 Monday 22
7/11/2023 Tuesday 14
7/12/2023 Wednesday 32
7/13/2023 Thursday 23
7/14/2023 Friday
7/17/2023 Monday
7/18/2023 Tuesday
7/19/2023 Wednesday
7/20/2023 Thursday
7/21/2023 Friday
206 =SUM(OFFSET(D5,0,0,COUNTA(D:D)))
# COUNTA

Employee Name No of Employee 15 =COUNTA(B5:B19)


Sangita Das
Soujanya Mallick
Debu Kayal
Indrajit Bhattacharjee
Debajyoti Kundu
Komal Shaw
Kamal Basak
Umesh Kumar Sah
Subhabrata Bhor
Partha Bhattacharya
Krishna Kanta Gorai
Indranil Roy
Nibedita Das
Surajit Maity
Abhijit Sarkar
# COUNTIF

Name Department Gender Monthly Salary Annual Salary


Sunita Roy Support Female 7,300.00 87,600.00
Amit Sana Finance Male 5,600.00 67,200.00
Ajit Baidya IT Male 5,200.00 62,400.00
Atul Sharma IT Male 4,200.00 50,400.00
Debasish Dey Support Male 12,500.00 150,000.00
Manoj Patra Marketing Male 8,700.00 104,400.00
Puja Singh Support Female 5,600.00 67,200.00
Robert Peter Marketing Male 7,100.00 85,200.00
Sumit Sharma Finance Male 9,200.00 110,400.00
Manash Pal Support Male 6,400.00 76,800.00
Sujeta Sen Marketing Female 7,100.00 85,200.00
Calculate
Department No of Employee
Finance 2 =COUNTIF($C$6:$C$16,H6)
Marketing 3
Support 4
IT 2
# MATCH

Customer Name Transaction ID Find the position of a value in a data range


Soujanya Mallick 10125
Sandip Paul 10142 Transaction ID
Subhabrata Bhor 10165 10209
Sumeet Patro 10177
Asim Nath Dubey 10207
Kamal Basak 10209
Umesh Kumar Sah 10219
Indranil Roy 10222
Indrajit Bhattacharjee 10223
Debajyoti Kundu 10226
Arupjyoti Debnath 10242
position of a value in a data range

Position in a range
6 =MATCH(F7,C5:C15,0)
# Reverse Lookup : INDEX + MATCH / VLOOKUP + CHOOSE

Customer Name Transaction ID Find the customer name based on the transaction
Soujanya Mallick 10125
Sandip Paul 10142 Transaction ID
Subhabrata Bhor 10165 10209
Sumeet Patro 10177
Asim Nath Dubey 10207
Kamal Basak 10209 Transaction ID
Umesh Kumar Sah 10219 10209
Indranil Roy 10222
Indrajit Bhattacharjee 10223
Debajyoti Kundu 10226
Arupjyoti Debnath 10242
customer name based on the transaction ID

Customer Name
Kamal Basak =INDEX(B5:B15,MATCH(F7,C5:C15,0))

Customer Name
Kamal Basak =VLOOKUP(F12,CHOOSE({1,2},C6:C16,B6:B16),2,0)
# CONCATENATE

F Name Name Full Name


Sangita Das Sangita Das
Soujanya Mallick Soujanya Mallick
Debu Kayal Debu Kayal
Indrajit Bhattacharjee Indrajit Bhattacharjee
Debajyoti Kundu Debajyoti Kundu
Komal Shaw Komal Shaw
Kamal Basak Kamal Basak
Umesh Sah Umesh Sah
Subhabrata Bhor Subhabrata Bhor
Partha Bhattacharya Partha Bhattacharya
Krishna Gorai Krishna Gorai
Indranil Roy Indranil Roy
=CONCATENATE(B5," ",C5)
# REPT

Employee Rating
Sangita Das 5 ***** =REPT("*",C5)
Soujanya Mallick 3 ***
Debu Kayal 5 *****
Indrajit Bhattacharjee 2 **
Debajyoti Kundu 1 *
Komal Shaw 5 *****
Kamal Basak 5 *****
Umesh Sah 1 *
Subhabrata Bhor 4 ****
Partha Bhattacharya 4 ****
Krishna Gorai 2 **
Indranil Roy 3 ***
# TYPE (Return the type of the given value)

Type Result
ICA text 2 =TYPE(C5)
99 number 1
#N/A error 16
TRUE logical value 8
# LEFT, MID and RIGHT

1 2 3
GSTIN State Code PAN Last 3
19AAACB0472C1ZR 19 AAACB0472C 1ZR
29AACCA8464F2Z8 29 AACCA8464F 2Z8
12AAACC0462F1ZS 12 AAACC0462F 1ZS
20AABCA7375C3ZF 20 AABCA7375C 3ZF
16AABCB1518L1ZJ 16 AABCB1518L 1ZJ
23AAACB1534F2Z9 23 AAACB1534F 2Z9
29AAACH0997E1ZP 29 AAACH0997E 1ZP
32AACCB0774B1Z9 32 AACCB0774B 1Z9
36AAACC6106G2Z8 36 AAACC6106G 2Z8
24AAACC7241A1ZB 24 AAACC7241A 1ZB
State Code =LEFT(B6,2)
PAN =MID(B6,3,10)
Last 3 =RIGHT(B6,3)
# RANDBETWEEN

Random Discount
Customer Name Total Purchase Amount Discount Amount
Percentage
Amit 2000 17 340.00
Sana 2500 8 200.00
Ajit 4000 14 560.00
Atul 3000 12 360.00
=RANDBETWEEN(5,20)
# CONVERT

Product kg gr
P001 12 12000 =CONVERT(C5,"kg","g")
P002 9 9000
P003 13 13000
P004 16 16000
P005 7 7000
# SUMPRODUCT

Day Product Qty Product Rate Total Sales


Monday 32 212 44597 =SUMPRODUCT(C5:C10,D5:D10)
Tuesday 27 245
Wednesday 24 199
Thursday 37 210
Friday 34 205
Saturday 59 198
ODUCT(C5:C10,D5:D10)
# IFERROR

Sales Value Qty Avg. Price


748 17 44.00 =B5/C5
656 9 72.89
625 19 32.89
747 0 #DIV/0!
503 10 50.30
440 9 48.89

Sales Value Qty Avg. Price


748 17 44.00 =IFERROR(B14/C14,0)
656 9 72.89
625 19 32.89
747 0 0.00
503 10 50.30
440 9 48.89

You might also like