multiple vlookup

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i have range(a1:j1000)
columns A,C,E,G,I are phone numbers
columns B,D,F,H,J are serial numbers

i need a vlookup function that lookups up the phone number then returns the
serial number. my problem is that if the phone number being looked up is in
column C it returns #N/A
i am thinkin maybe a couple if functions, but im not sure

thanks in advance
 
Hi
any chance to reorder your data in two columns. Everything else would
make the formulas much more complicated
 
There may be a better way, but assuming that the first row contains you
labels and your data starts in the second row, try the following...

=INDEX(A2:J1000,SUMPRODUCT((A2:J1000=L2)*ROW(A2:J1000))-CELL("row",A1),SUMPRODUCT((A2:J1000=L2)*COLUMN(A2:J1000))+1)

...where L2 contains the phone number of interest.

Hope this helps
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top