PC Review


Reply
Thread Tools Rate Thread

choose match formula

 
 
=?Utf-8?B?U2NvdHRAQ1c=?=
Guest
Posts: n/a
 
      5th Sep 2007
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:AB600,4,FALSE),IF(D5="MAY07",VLOOKUP(D6,MAY07!D16:AB600,4,FALSE),IF(D5="JUN07",VLOOKUP(D6,JUN07!D16:AB600,4,FALSE),"No
Data")))),"No
Responses",IF(D5="APR07",VLOOKUP(D6,APR07!D16:AB600,4,FALSE),IF(D5="MAY07",VLOOKUP(D6,MAY07!D16:AB600,4,FALSE),IF(D5="JUN07",VLOOKUP(D6,JUN07!D16:AB600,4,FALSE),"No Data"))))

Thanks for any help
 
Reply With Quote
 
 
 
 
=?Utf-8?B?RHVrZSBDYXJleQ==?=
Guest
Posts: n/a
 
      5th Sep 2007
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:AB600,4,FALSE),IF(D5="MAY07",VLOOKUP(D6,MAY07!D16:AB600,4,FALSE),IF(D5="JUN07",VLOOKUP(D6,JUN07!D16:AB600,4,FALSE),"No
> Data")))),"No
> Responses",IF(D5="APR07",VLOOKUP(D6,APR07!D16:AB600,4,FALSE),IF(D5="MAY07",VLOOKUP(D6,MAY07!D16:AB600,4,FALSE),IF(D5="JUN07",VLOOKUP(D6,JUN07!D16:AB600,4,FALSE),"No Data"))))
>
> Thanks for any help

 
Reply With Quote
 
=?Utf-8?B?U2NvdHRAQ1c=?=
Guest
Posts: n/a
 
      5th Sep 2007
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:AB600,4,FALSE),IF(D5="MAY07",VLOOKUP(D6,MAY07!D16:AB600,4,FALSE),IF(D5="JUN07",VLOOKUP(D6,JUN07!D16:AB600,4,FALSE),"No
> > Data")))),"No
> > Responses",IF(D5="APR07",VLOOKUP(D6,APR07!D16:AB600,4,FALSE),IF(D5="MAY07",VLOOKUP(D6,MAY07!D16:AB600,4,FALSE),IF(D5="JUN07",VLOOKUP(D6,JUN07!D16:AB600,4,FALSE),"No Data"))))
> >
> > Thanks for any help

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lookup Formula: Return 1st match, then 2nd match, then 3rd match Scott Microsoft Excel Misc 4 11th Dec 2009 05:50 AM
Choose and Match Atif Microsoft Excel Worksheet Functions 3 25th Sep 2008 02:08 AM
choose+match!! pierre Microsoft Excel Misc 1 18th Apr 2008 07:32 PM
choose+match pierre Microsoft Excel Misc 4 17th Apr 2008 10:04 PM
Match Index Choose Gav !! Microsoft Excel Worksheet Functions 1 5th Apr 2004 08:51 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:26 AM.