Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default Sequential VLookups

I have a spreadsheet that has three tables. I need to create a lookup that
looks in the first table and if it doesn't find the value goes to the second
table and then the third to find the value. What I have been using is

vlookup(a3,a10:k10,3,vlookup(a3,o10:y10,3,vlookup( a3,aa10:ak10,3,0)))

and it's not working. Any ideas.
--
Motaad
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Sequential VLookups

"rng1" is a define name range A10:K10
"rng2"...................................O10:Y 10
"rng3"...................................AA10: AK10

=VLOOKUP(A3,IF(COUNTIF(rng1,A3),rng1,IF(COUNTIF(rn g2,A3),rng2,rng3)),3,0)

If it doesn't find in one of those three ranges, it returns #N/A


"Motaad" wrote:

I have a spreadsheet that has three tables. I need to create a lookup that
looks in the first table and if it doesn't find the value goes to the second
table and then the third to find the value. What I have been using is

vlookup(a3,a10:k10,3,vlookup(a3,o10:y10,3,vlookup( a3,aa10:ak10,3,0)))

and it's not working. Any ideas.
--
Motaad

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default Sequential VLookups

Thank you .... it worked...not sure why .... but it did :-)
--
Motaad


"Teethless mama" wrote:

"rng1" is a define name range A10:K10
"rng2"...................................O10:Y 10
"rng3"...................................AA10: AK10

=VLOOKUP(A3,IF(COUNTIF(rng1,A3),rng1,IF(COUNTIF(rn g2,A3),rng2,rng3)),3,0)

If it doesn't find in one of those three ranges, it returns #N/A


"Motaad" wrote:

I have a spreadsheet that has three tables. I need to create a lookup that
looks in the first table and if it doesn't find the value goes to the second
table and then the third to find the value. What I have been using is

vlookup(a3,a10:k10,3,vlookup(a3,o10:y10,3,vlookup( a3,aa10:ak10,3,0)))

and it's not working. Any ideas.
--
Motaad

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Sequential VLookups

You're welcome!

"Motaad" wrote:

Thank you .... it worked...not sure why .... but it did :-)
--
Motaad


"Teethless mama" wrote:

"rng1" is a define name range A10:K10
"rng2"...................................O10:Y 10
"rng3"...................................AA10: AK10

=VLOOKUP(A3,IF(COUNTIF(rng1,A3),rng1,IF(COUNTIF(rn g2,A3),rng2,rng3)),3,0)

If it doesn't find in one of those three ranges, it returns #N/A


"Motaad" wrote:

I have a spreadsheet that has three tables. I need to create a lookup that
looks in the first table and if it doesn't find the value goes to the second
table and then the third to find the value. What I have been using is

vlookup(a3,a10:k10,3,vlookup(a3,o10:y10,3,vlookup( a3,aa10:ak10,3,0)))

and it's not working. Any ideas.
--
Motaad

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 34
Default Sequential VLookups

You need to combine with if statements;;;

if(isna(vlookup(a3,a10:k10,3,false)),if(isna(vlook up(a3,o10:y10,3,false)),vl
ookup(a3,aa10:ak10,3,false))


"Motaad" wrote in message
...
I have a spreadsheet that has three tables. I need to create a lookup

that
looks in the first table and if it doesn't find the value goes to the

second
table and then the third to find the value. What I have been using is

vlookup(a3,a10:k10,3,vlookup(a3,o10:y10,3,vlookup( a3,aa10:ak10,3,0)))

and it's not working. Any ideas.
--
Motaad





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Sequential VLookups

If the ranges you supply are the real ranges, perhaps this would suffice.......

=IF(A3=A10,C10,IF(A3=O10,Q10,IF(A3=AA10,AC10,"NOT FOUND")))

Vaya con Dios,
Chuck, CABGx3



"Motaad" wrote:

I have a spreadsheet that has three tables. I need to create a lookup that
looks in the first table and if it doesn't find the value goes to the second
table and then the third to find the value. What I have been using is

vlookup(a3,a10:k10,3,vlookup(a3,o10:y10,3,vlookup( a3,aa10:ak10,3,0)))

and it's not working. Any ideas.
--
Motaad

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
vlookups T Excel Discussion (Misc queries) 4 May 13th 06 12:15 PM
Vlookups Shaya M Excel Discussion (Misc queries) 3 May 27th 05 07:17 AM
Non-sequential VLOOKUP function -OR- sequential sort of web query Eric S Excel Worksheet Functions 1 February 28th 05 07:50 PM
vlookups Valerie S. Excel Worksheet Functions 0 January 28th 05 12:55 AM
Sequential names on Sequential pages Salt4 Excel Worksheet Functions 2 November 12th 04 04:24 PM


All times are GMT +1. The time now is 01:16 AM.

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

About Us

"It's about Microsoft Excel"