View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Scott Scott is offline
external usenet poster
 
Posts: 87
Default Vlookup(?) with 2 Lookup Values

When I don't care too much, I usually just cheat and have an extra
column with an index value. ie. I'll insert a column in front of the
values, and put the formula =B2&C2 (assuming the account and service
are in those two columns).

Then I'll run the VLOOKUP based on that column, ie.

=VLOOKUP(A1&B1,'Sheet1!$A$2:$D$1000,3,FALSE)

Scott

o1darcie1o wrote:
I hope I can explain this ok:
My vendor reports an Account ID listed multiple times, once for each service
subscribed to. My billing is based on the two items: some services are
billed under one sales account, some on another.
I currently have my sheet set up where it is sorted by service and I vlookup
the account ID for each service seperately (using exact cell locations
instead of columns).
Is there a formula so that it looks at the account id, then the service, and
returns the sales account?
I hope that was clear - thanks in advance for your help!