Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 10

NESTED IF NESTED IF

Monthly Sales Report


Sale Person Q1 Q2 Q3 R1
Asif 4 8 10 A
nadeem 6 9 4 A
Ali 2 7 3 B
Nasir 5 3 4 B
Akbar 6 4 B
John 1 7 B
ASif 1 3 11 A
Zakir 4 6 8 A
Haider 2 5 9 A
Mohsin 4 8 A
Nizami 8 1 A

SALES STATEMENT
Sales person INVOICE ITEM QTY SOLD COST ITEM
akram 1-Sep Monitor 2 3500
zeeshan 2-Sep Speaker 1 400
rashidi 2-Sep Keyboard 3 100
basit 2-Sep Monitor 1 3500
raza 2-Sep Speaker 2 400
aijaz 3-Sep Mouse 4 70
abbas 3-Sep Monitor 1 3500
akram 3-Sep Speaker 3 400
hammad 3-Sep Ram 3 1200
zeeshan 4-Sep Monitor 5 3500
basit 6-Sep Mouse 10 70
akram 8-Sep keyboard 7 100

Total Qty Sold


Monitor 9
Speaker 6
Keyboard 10
Mouse 14
Ram 3

Practice (H&V LookuP)


Vlookup

Sale Person Total Sale Commission


Arif 3000 1000
Jalal 4500 Err:502
Sohail 2800 Kick Out
Faisal 1900 Kick Out
Rufi 7800 2000
Ali 15700 5000
Rashid 13900 3000

Criteria
Sales Commission
0 Kick Out
3000 1000
5000 2000
10000 3000
15000 5000

D-Function
Name Area Sale Person Qty Sold
Pepsi landhi Noman 50
coke malir Kashif 100
pepsi defense Hashim 120
fanta gulshan Kashif 40
fanta gawader hashim 140
coke landhi hashim 190
Pepsi gawader kashif 30
coke landhi Kashif 50
Pepsi landhi noman 78
Pepsi defense Kashif 50
coke gulshan Kashif 50
.

Name Area Sale Person Qty Sold


FANTA GULSHAN

DSUM 40 DSUM
DAVERAGE 40 DAVERAGE
DCOUNT 1 DCOUNT
DMIN 1 DMIN
DMAX 40 DMAX
R2 R3 R4 R5 R6 R7 R8 R9
A A A A A 22
A A A A A 19
A B A A B 0
A B A B B 0
A B B A B 0
A B B A B 0
A B A A B 15
A A A A A 0
A A A A A 0
A B B A A 0
A B B A B 0

SALES PRICE TOTAL COST TOTAL SALES PROFIT


4000 7000 8000 1000
650 400 650 250
125 300 375 75
4000 3500 4000 500
650 800 1300 500
100 280 400 120
4000 3500 4000 500
600 1200 1800 600
1600 3600 4800 1200
4000 17500 20000 2500
100 700 1000 300
125 700 875 175

Total Profit
Monitor 4500
Speaker 1350
Keyboard 250
Mouse 420
Ram 1200
Name Area Sale Person Qty Sold
Pepsi landhi Noman 50
coke malir Kashif 100
pepsi defense Hashim 120 Qt
fanta gulshan Kashif 40
200
fanta gawader hashim 140
180
coke landhi hashim 190 160
Pepsi gawader kashif 30 140
coke landhi Kashif 50 120
Pepsi landhi noman 78 100
Pepsi defense Kashif 50 80
60
coke gulshan Kashif 50 40
20
0
Pepsi coke
pepsi fanta
fanta cok

Qty Sold
coke
Pepsi
Pepsi
coke Qt
Pepsi Qty Sold 200
coke 180
fanta 160
fanta 140
pepsi 120
100
coke
80
Pepsi 60
0 20 40 60 80 100 120 140 160 180 200 40
20
0

defense
landhi

landhi
gulshan
malir

gawader
Pepsi coke pepsi fanta fanta coke

Qty Sold
Pepsi landhi coke malir pepsi defense
fanta gawader coke landhi Pepsi gawader
Pepsi landhi Pepsi defense coke gulshan
6% 6%
6%

11%
9%
6% 13%
3%
21% 4%
16%
6% 6%
6%

11%
9%
6% 13%
3%
21% 4%
16%
Qty Sold

Qty Sold

0
0
0
Pepsi coke
pepsi fanta
fanta coke
Pepsi coke
Pepsi Pepsi
coke

Qty Sold

Qty Sold
defense

defense
landhi

landhi

landhi

landhi
gulshan

gulshan
malir

gawader

gawader

epsi coke pepsi fanta fanta coke Pepsi coke Pepsi Pepsi coke

Qty Sold
coke malir pepsi defense fanta gulshan
coke landhi Pepsi gawader coke landhi
Pepsi defense coke gulshan
6% 6%
6%

11%
9%
6% 13%
%
21% 4%
16%
6% 6%
6%

11%
9%
6% 13%
%
21% 4%
16%
Name Area Sale Person Qty Sold
Pepsi landhi Noman 50
coke malir Kashif 100
pepsi defense Hashim 120
fanta gulshan Kashif 40
fanta gawader hashim 140
coke landhi hashim 190
Pepsi gawader kashif 30
coke landhi Kashif 50
Pepsi landhi noman 78
Pepsi defense Kashif 50
coke gulshan Kashif 50

Name Area Sale Perso Sum of Qty Sold


coke 390
gulshan 50
Kashif 50
landhi 240
Hashim 190
Kashif 50
malir 100
Kashif 100
Pepsi 328
defense 170
Hashim 120
Kashif 50
gawader 30
Kashif 30
landhi 128
Noman 128
Total Result 718
Name Area Sale Person Qty Sold
Pepsi landhi Noman 50
coke malir Kashif 100
pepsi defense Hashim 120
fanta gulshan Kashif 40
fanta gawader hashim 140
coke landhi hashim 190
Pepsi gawader kashif 30
coke landhi Kashif 50
Pepsi landhi noman 78
Pepsi defense Kashif 50
coke gulshan Kashif 50

You might also like