LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #13   Report Post  
Posted to microsoft.public.excel.misc
Domenic
 
Posts: n/a
Default multiple ranges on Vlookup

Sorry! I forgot about the sheet reference. But I'm glad you've got it
sorted out.

Cheers!

In article ,
lpj wrote:

got it on my own - thanks for all of your help! :)


"Domenic" wrote:

The formula should be as follows...

=IF(E2<"",VLOOKUP(E2,CHOOSE(MATCH(TRUE,COUNTIF(OF FSET(T3:U27,,{0,4,9,14}
,{25,46,132,67}),E2)0,0),T3:U27,X3:Y48,AC3:AD134, AH3:AI69),2,0),"")

If you have no other data below your tables and you want to use whole
column references, use the following formula instead...

=IF(E2<"",VLOOKUP(E2,CHOOSE(MATCH(TRUE,COUNTIF(OF FSET(T:U,,{0,4,9,14}),E
2)0,0),T:U,X:Y,AC:AD,AH:AI),2,0),"")

Both these formulas need to be confirmed with CONTROL+SHIFT+ENTER, not
just ENTER. In other words, after typing the formula, instead of
pressing just ENTER, hold the CONTROL+SHIFT keys down and while those
two keys are pressed down press ENTER. Excel will automatically place
braces {} around the formula which will indicate that you've entered it
correctly.

In article ,
lpj wrote:

HI Domenic -
unfortunately i still can't get this working, even with my modifications.
I
don't receive an error msg just doesn't find a match (N/A#). My table
ranges
a T3:U27, X3:Y48, AC3:AD134, AH3:AI69
This is the statement, after the modifications:

=IF(E2<"",VLOOKUP(E2,CHOOSE(MATCH(TRUE,COUNTIF(OF FSET(T3:U27,,{0,4,5,5}
,{25,46,132,67}),E2)0,0),T3:U27,X3:Y48,AC3:AD134, AH3:AI69),2,0),"")

P.S. You stated you hit CTL,Shift, Enter - what is this for?
Thanks so much!


 
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
Multiple if or multiple vlookup Robo Excel Worksheet Functions 4 November 14th 05 01:48 PM
Multiple Ranges for a Chart Barb R. Charts and Charting in Excel 0 May 31st 05 11:52 PM
how do I use vlookup for multiple occurrences of the same value bj Excel Worksheet Functions 0 April 27th 05 10:43 PM
Can VLOOKUP return multiple answers based on several identical lo. jddtct Excel Worksheet Functions 3 January 11th 05 07:03 AM
compare unique identifiers in multiple ranges bawilli_91125 Charts and Charting in Excel 1 November 30th 04 06:34 PM


All times are GMT +1. The time now is 11:48 PM.

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"