#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default choose match formula

I am running a workbook with various versions of the below formula:
=CHOOSE(MATCH($D$5,{"Select reporting Month
","JAN07","FEB07","MAR07","APR07","MAY07","JUN07", "JUL07","AUG07","SEP07","OCT07","NOV07","DEC07"},0 ),JAN07!F14,JAN07!E$11,FEB07!E$11,MAR07!E$11,APR07 !E$11,MAY07!E$11,JUN07!E$11,JUL07!E$11,AUG07!E$11, SEP07!E$11,OCT07!E$11,NOV07!E$11,DEC07!E$11)

I need to make the next formula in the same manner. I need to include all 12
months
=IF(ISERROR(IF(D5="APR07",VLOOKUP(D6,APR07!D16:AB6 00,4,FALSE),IF(D5="MAY07",VLOOKUP(D6,MAY07!D16:AB6 00,4,FALSE),IF(D5="JUN07",VLOOKUP(D6,JUN07!D16:AB6 00,4,FALSE),"No
Data")))),"No
Responses",IF(D5="APR07",VLOOKUP(D6,APR07!D16:AB60 0,4,FALSE),IF(D5="MAY07",VLOOKUP(D6,MAY07!D16:AB60 0,4,FALSE),IF(D5="JUN07",VLOOKUP(D6,JUN07!D16:AB60 0,4,FALSE),"No Data"))))

Thanks for any help
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,081
Default choose match formula

You could try the INDIRECT() function

=VLOOKUP(D6,INDIRECT(D5&"!D16:AB600"),4,FALSE)



"Scott@CW" wrote:

I am running a workbook with various versions of the below formula:
=CHOOSE(MATCH($D$5,{"Select reporting Month
","JAN07","FEB07","MAR07","APR07","MAY07","JUN07", "JUL07","AUG07","SEP07","OCT07","NOV07","DEC07"},0 ),JAN07!F14,JAN07!E$11,FEB07!E$11,MAR07!E$11,APR07 !E$11,MAY07!E$11,JUN07!E$11,JUL07!E$11,AUG07!E$11, SEP07!E$11,OCT07!E$11,NOV07!E$11,DEC07!E$11)

I need to make the next formula in the same manner. I need to include all 12
months
=IF(ISERROR(IF(D5="APR07",VLOOKUP(D6,APR07!D16:AB6 00,4,FALSE),IF(D5="MAY07",VLOOKUP(D6,MAY07!D16:AB6 00,4,FALSE),IF(D5="JUN07",VLOOKUP(D6,JUN07!D16:AB6 00,4,FALSE),"No
Data")))),"No
Responses",IF(D5="APR07",VLOOKUP(D6,APR07!D16:AB60 0,4,FALSE),IF(D5="MAY07",VLOOKUP(D6,MAY07!D16:AB60 0,4,FALSE),IF(D5="JUN07",VLOOKUP(D6,JUN07!D16:AB60 0,4,FALSE),"No Data"))))

Thanks for any help

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default choose match formula

it works!!!!
you rock!!!!

"Duke Carey" wrote:

You could try the INDIRECT() function

=VLOOKUP(D6,INDIRECT(D5&"!D16:AB600"),4,FALSE)



"Scott@CW" wrote:

I am running a workbook with various versions of the below formula:
=CHOOSE(MATCH($D$5,{"Select reporting Month
","JAN07","FEB07","MAR07","APR07","MAY07","JUN07", "JUL07","AUG07","SEP07","OCT07","NOV07","DEC07"},0 ),JAN07!F14,JAN07!E$11,FEB07!E$11,MAR07!E$11,APR07 !E$11,MAY07!E$11,JUN07!E$11,JUL07!E$11,AUG07!E$11, SEP07!E$11,OCT07!E$11,NOV07!E$11,DEC07!E$11)

I need to make the next formula in the same manner. I need to include all 12
months
=IF(ISERROR(IF(D5="APR07",VLOOKUP(D6,APR07!D16:AB6 00,4,FALSE),IF(D5="MAY07",VLOOKUP(D6,MAY07!D16:AB6 00,4,FALSE),IF(D5="JUN07",VLOOKUP(D6,JUN07!D16:AB6 00,4,FALSE),"No
Data")))),"No
Responses",IF(D5="APR07",VLOOKUP(D6,APR07!D16:AB60 0,4,FALSE),IF(D5="MAY07",VLOOKUP(D6,MAY07!D16:AB60 0,4,FALSE),IF(D5="JUN07",VLOOKUP(D6,JUN07!D16:AB60 0,4,FALSE),"No Data"))))

Thanks for any help

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
Help with lookups (Index/Offset/Match/Choose???) [email protected] Excel Discussion (Misc queries) 3 August 15th 07 09:31 PM
formula to choose a hyperlink from a cell Luong Vinh Tu Excel Worksheet Functions 1 September 25th 06 04:13 AM
How to indicate in formula to choose the entire column starting from a specified cell? [email protected] Excel Discussion (Misc queries) 3 June 13th 06 04:25 AM
VLOOKUP, INDEX, MATCH... What to choose Piloulondon Excel Worksheet Functions 3 August 20th 05 07:15 PM
Choose between two cells the lower result of a formula Michael Zullo via OfficeKB.com Excel Worksheet Functions 4 May 31st 05 07:25 AM


All times are GMT +1. The time now is 11:22 AM.

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"