Advanced Excel Functions
Advanced Excel Functions
=VLOOKUP($B13,$B$5:$G$9,COLUMN(B2),0)
# IF | IF-OR | IF-AND
Conditions:
1. If Department is Sales then output will be 10% of Salary Amount else 0
=IF(C5="Sales",E5*10%,0)
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
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
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