S
Sue
I am trying to create a vlookup formula that will lookup one value and
return many results. I have a spreadsheet that contains Sales Reps and all
the accounts each Sales Rep has. Worksheet 1, for example, will have column
A with all the different reps - REP1, REP2, REP3, etc., none sorted in any
particular order, column B will have the name of their account - Joe's
Diner, Cat Motel, Inc, Bob's Carwash, etc., and Column C will have the
monthly sales volume for that account - $23,232, $15,875, $4,222, etc.
In Worksheet 2, I have a particular Rep that I want to lookup all the
accounts for in spreadsheet 1. Using the Rep name as the lookup value, I
want it to return all the accounts that match that Rep's name.
Worksheet 1 - (named range A1:C6 = Accounts)
A B C
1 REP1 Joe's Diner $23,232
2 REP2 Cat Motel, Inc. $15,875
3 REP3 Bob's Carwash $ 4,222
4 REP2 Absolute Credit $52,777
5 REP3 Jack's Towing $90,113
6 REP2 Smith Consulting $42,549
Worksheet 2
A B C
1 REP2
...
...
7 =vlookup($A$1, Accounts, 2, false) - Here I would like it to return "Cat
Motel, Inc."
8 =vlookup($A$1, Accounts, 2, false) - Here I would like it to return
"Absolute Credit"
9 ......
Instead, it is returning only the first value it finds - "Cat Motel, Inc."
and logically, that is correct. I just don't know how to manipulate the
formula to get the results I need.
Any help is appreciated.
Sue
return many results. I have a spreadsheet that contains Sales Reps and all
the accounts each Sales Rep has. Worksheet 1, for example, will have column
A with all the different reps - REP1, REP2, REP3, etc., none sorted in any
particular order, column B will have the name of their account - Joe's
Diner, Cat Motel, Inc, Bob's Carwash, etc., and Column C will have the
monthly sales volume for that account - $23,232, $15,875, $4,222, etc.
In Worksheet 2, I have a particular Rep that I want to lookup all the
accounts for in spreadsheet 1. Using the Rep name as the lookup value, I
want it to return all the accounts that match that Rep's name.
Worksheet 1 - (named range A1:C6 = Accounts)
A B C
1 REP1 Joe's Diner $23,232
2 REP2 Cat Motel, Inc. $15,875
3 REP3 Bob's Carwash $ 4,222
4 REP2 Absolute Credit $52,777
5 REP3 Jack's Towing $90,113
6 REP2 Smith Consulting $42,549
Worksheet 2
A B C
1 REP2
...
...
7 =vlookup($A$1, Accounts, 2, false) - Here I would like it to return "Cat
Motel, Inc."
8 =vlookup($A$1, Accounts, 2, false) - Here I would like it to return
"Absolute Credit"
9 ......
Instead, it is returning only the first value it finds - "Cat Motel, Inc."
and logically, that is correct. I just don't know how to manipulate the
formula to get the results I need.
Any help is appreciated.
Sue