You are on page 1of 2

Fetching 2nd, 3rd Matches

Helper Column #SalesPerson Joseph1 John1 Josh1 Jamie1 Joseph2 John2 Josh2 Jamie2 Joseph3 John3 Josh3 Jamie3 John4 Actual Data Sales Person Joseph John Josh Jamie Joseph John Josh Jamie Joseph John Josh Jamie John No. Customers 8 8 8 9 10 10 7 7 8 6 9 6 9 Net Sales 1,592 1,088 1,680 2,133 1,610 1,540 1,316 1,799 1,624 726 2,277 714 2,682 Profit / Loss 563 397 753 923 579 570 428 709 621 236 966 221 1,023

Homework 1. What is the Net Sales amount for last occurrence of Jamie? 2. Of all the sales John made, which one is highest? 3. Of all the sales John made, on which occurrence did he make the highest sale? 4. Is there way to fetch 2nd sales amount for Josh without using the helper column (B5:B17) ?

Visit Chandoo.org for more,

Sales in Each Occurrence Sales Person Joseph John Jackie

Sales 1 1592 1088 #N/A

Sales 2 1610 1540 #N/A

Sales 3 1624 726 #N/A

Sales 4 #N/A 2682 #N/A

All formulas are in the following format.


=VLOOKUP($H6&COLUMNS($I$5:I$5),tblData,4,FALSE)

We use COLUMNS() to get running numbers. See below link for information on that.
Help: Use COLUMNS() Formula to Generate Running Numbers

Your Answers

est sale? er column (B5:B17) ?

You might also like