#1   Report Post  
choice
 
Posts: n/a
Default multiple vlookup

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
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
any chance to reorder your data in two columns. Everything else would
make the formulas much more complicated

--
Regards
Frank Kabel
Frankfurt, Germany


choice wrote:
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


  #3   Report Post  
Domenic
 
Posts: n/a
Default


There may be a better way, but assuming that the first row contains your
labels and your data starts in the second row, try the following...

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

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

Hope this helps!


--
Domenic
------------------------------------------------------------------------
Domenic's Profile: http://www.excelforum.com/member.php...o&userid=10785
View this thread: http://www.excelforum.com/showthread...hreadid=274273

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
XML / parent with multiple children and with multiple children Richard Excel Discussion (Misc queries) 0 January 5th 05 11:49 AM
Vlookup Syntax Error YV New Users to Excel 9 December 23rd 04 05:28 PM
Can vlookup return multiple matches in a single cell? cchristensen Excel Discussion (Misc queries) 3 December 2nd 04 01:56 AM
Need help with modifying VLookUp Tom Excel Discussion (Misc queries) 4 December 2nd 04 12:44 AM
vlookup Amit Excel Worksheet Functions 2 November 1st 04 04:52 PM


All times are GMT +1. The time now is 02:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"