#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Nested Functions

Is there any way to bypass the limit of 7 nested functions?

The following formula should return the value in 1 of 12 columns based on
the month that is selected from a drop down menu. However, the limitation of
7 nested functions does not allow it to work? Any ideas how go about this a
different way?

=IF('Report Parameters'!$E$5 = "January", 'Stats and Forecasts - 351'!B48,
IF('Report Parameters'!$E$5 = "February", 'Stats and Forecasts - 351'!E48,
IF('Report Parameters'!$E$5 = "March", 'Stats and Forecasts - 351'!H48,
IF('Report Parameters'!$E$5 = "April", 'Stats and Forecasts - 351'!K48,
IF('Report Parameters'!$E$5 = "May", 'Stats and Forecasts - 351'!N48,
IF('Report Parameters'!$E$5 = "June", 'Stats and Forecasts - 351'!Q48,
IF('Report Parameters'!$E$5 = "July", 'Stats and Forecasts - 351'!T48,
IF('Report Parameters'!$E$5 = "August", 'Stats and Forecasts - 351'!W48),
IF('Report Parameters'!$E$5 = "September", 'Stats and Forecasts - 351'!Z48,
IF('Report Parameters'!$E$5 = "October", 'Stats and Forecasts - 351'!AC48,
IF('Report Parameters'!$E$5 = "November", 'Stats and Forecasts - 351'!AF48,
IF('Report Parameters'!$E$5 = "December", 'Stats and Forecasts -
351'!AI48)))))))))))

Thanks,

Bryan
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Nested Functions

An alternative .... complete the list of months im MATCH statement

=OFFSET('Stats and Forecasts - 351'!$B$48,0,(MATCH('Report
Parameters'!$E$5,{"January","February","March"},0)-1)*3)

Both solutions assume E5 contains a valid month

"Bryan Potter" wrote:

Is there any way to bypass the limit of 7 nested functions?

The following formula should return the value in 1 of 12 columns based on
the month that is selected from a drop down menu. However, the limitation of
7 nested functions does not allow it to work? Any ideas how go about this a
different way?

=IF('Report Parameters'!$E$5 = "January", 'Stats and Forecasts - 351'!B48,
IF('Report Parameters'!$E$5 = "February", 'Stats and Forecasts - 351'!E48,
IF('Report Parameters'!$E$5 = "March", 'Stats and Forecasts - 351'!H48,
IF('Report Parameters'!$E$5 = "April", 'Stats and Forecasts - 351'!K48,
IF('Report Parameters'!$E$5 = "May", 'Stats and Forecasts - 351'!N48,
IF('Report Parameters'!$E$5 = "June", 'Stats and Forecasts - 351'!Q48,
IF('Report Parameters'!$E$5 = "July", 'Stats and Forecasts - 351'!T48,
IF('Report Parameters'!$E$5 = "August", 'Stats and Forecasts - 351'!W48),
IF('Report Parameters'!$E$5 = "September", 'Stats and Forecasts - 351'!Z48,
IF('Report Parameters'!$E$5 = "October", 'Stats and Forecasts - 351'!AC48,
IF('Report Parameters'!$E$5 = "November", 'Stats and Forecasts - 351'!AF48,
IF('Report Parameters'!$E$5 = "December", 'Stats and Forecasts -
351'!AI48)))))))))))

Thanks,

Bryan

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Nested Functions

Bryan,
What is (are) the range(s) of data you are looking at? It
may be possible to use the OFFSET solution I offered.

"Bryan Potter" wrote:

I did consider using the VLOOKUP function, however the formula needs to
account for relative cell references as it needs to be applied to a number of
cells in each column.

Any alternatives (preferably avoiding creating a VLOOKUP classification
table for each row of data)?

Thanks,

Bryan

"Toppers" wrote:

Try ...

=INDIRECT("'Stats and Forecasts - 351'!" & VLOOKUP('Report
Parameters'!E5,Sheet2!A1:B12,2,0))

where sheet2, columns A & B contain month and corresponding cell address

January B48
February E48
etc

HTH

"Bryan Potter" wrote:

Is there any way to bypass the limit of 7 nested functions?

The following formula should return the value in 1 of 12 columns based on
the month that is selected from a drop down menu. However, the limitation of
7 nested functions does not allow it to work? Any ideas how go about this a
different way?

=IF('Report Parameters'!$E$5 = "January", 'Stats and Forecasts - 351'!B48,
IF('Report Parameters'!$E$5 = "February", 'Stats and Forecasts - 351'!E48,
IF('Report Parameters'!$E$5 = "March", 'Stats and Forecasts - 351'!H48,
IF('Report Parameters'!$E$5 = "April", 'Stats and Forecasts - 351'!K48,
IF('Report Parameters'!$E$5 = "May", 'Stats and Forecasts - 351'!N48,
IF('Report Parameters'!$E$5 = "June", 'Stats and Forecasts - 351'!Q48,
IF('Report Parameters'!$E$5 = "July", 'Stats and Forecasts - 351'!T48,
IF('Report Parameters'!$E$5 = "August", 'Stats and Forecasts - 351'!W48),
IF('Report Parameters'!$E$5 = "September", 'Stats and Forecasts - 351'!Z48,
IF('Report Parameters'!$E$5 = "October", 'Stats and Forecasts - 351'!AC48,
IF('Report Parameters'!$E$5 = "November", 'Stats and Forecasts - 351'!AF48,
IF('Report Parameters'!$E$5 = "December", 'Stats and Forecasts -
351'!AI48)))))))))))

Thanks,

Bryan

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Nested Functions

I did consider using a VLOOKUP function, however the formula needs to account
for relative cell references as it needs to be applied to numerous rows of
data.

Any alternatives (preferably avoiding the creation of a VLOOKUP
classification table for each row of data)?

Thanks,

Bryan

"Toppers" wrote:

Try ...

=INDIRECT("'Stats and Forecasts - 351'!" & VLOOKUP('Report
Parameters'!E5,Sheet2!A1:B12,2,0))

where sheet2, columns A & B contain month and corresponding cell address

January B48
February E48
etc

HTH

"Bryan Potter" wrote:

Is there any way to bypass the limit of 7 nested functions?

The following formula should return the value in 1 of 12 columns based on
the month that is selected from a drop down menu. However, the limitation of
7 nested functions does not allow it to work? Any ideas how go about this a
different way?

=IF('Report Parameters'!$E$5 = "January", 'Stats and Forecasts - 351'!B48,
IF('Report Parameters'!$E$5 = "February", 'Stats and Forecasts - 351'!E48,
IF('Report Parameters'!$E$5 = "March", 'Stats and Forecasts - 351'!H48,
IF('Report Parameters'!$E$5 = "April", 'Stats and Forecasts - 351'!K48,
IF('Report Parameters'!$E$5 = "May", 'Stats and Forecasts - 351'!N48,
IF('Report Parameters'!$E$5 = "June", 'Stats and Forecasts - 351'!Q48,
IF('Report Parameters'!$E$5 = "July", 'Stats and Forecasts - 351'!T48,
IF('Report Parameters'!$E$5 = "August", 'Stats and Forecasts - 351'!W48),
IF('Report Parameters'!$E$5 = "September", 'Stats and Forecasts - 351'!Z48,
IF('Report Parameters'!$E$5 = "October", 'Stats and Forecasts - 351'!AC48,
IF('Report Parameters'!$E$5 = "November", 'Stats and Forecasts - 351'!AF48,
IF('Report Parameters'!$E$5 = "December", 'Stats and Forecasts -
351'!AI48)))))))))))

Thanks,

Bryan

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Nested Functions

I did consider using the VLOOKUP function, however the formula needs to
account for relative cell references as it needs to be applied to a number of
cells in each column.

Any alternatives (preferably avoiding creating a VLOOKUP classification
table for each row of data)?

Thanks,

Bryan

"Toppers" wrote:

Try ...

=INDIRECT("'Stats and Forecasts - 351'!" & VLOOKUP('Report
Parameters'!E5,Sheet2!A1:B12,2,0))

where sheet2, columns A & B contain month and corresponding cell address

January B48
February E48
etc

HTH

"Bryan Potter" wrote:

Is there any way to bypass the limit of 7 nested functions?

The following formula should return the value in 1 of 12 columns based on
the month that is selected from a drop down menu. However, the limitation of
7 nested functions does not allow it to work? Any ideas how go about this a
different way?

=IF('Report Parameters'!$E$5 = "January", 'Stats and Forecasts - 351'!B48,
IF('Report Parameters'!$E$5 = "February", 'Stats and Forecasts - 351'!E48,
IF('Report Parameters'!$E$5 = "March", 'Stats and Forecasts - 351'!H48,
IF('Report Parameters'!$E$5 = "April", 'Stats and Forecasts - 351'!K48,
IF('Report Parameters'!$E$5 = "May", 'Stats and Forecasts - 351'!N48,
IF('Report Parameters'!$E$5 = "June", 'Stats and Forecasts - 351'!Q48,
IF('Report Parameters'!$E$5 = "July", 'Stats and Forecasts - 351'!T48,
IF('Report Parameters'!$E$5 = "August", 'Stats and Forecasts - 351'!W48),
IF('Report Parameters'!$E$5 = "September", 'Stats and Forecasts - 351'!Z48,
IF('Report Parameters'!$E$5 = "October", 'Stats and Forecasts - 351'!AC48,
IF('Report Parameters'!$E$5 = "November", 'Stats and Forecasts - 351'!AF48,
IF('Report Parameters'!$E$5 = "December", 'Stats and Forecasts -
351'!AI48)))))))))))

Thanks,

Bryan



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Nested Functions

Maybe something he

http://www.cpearson.com/excel/nested.htm

"Bryan Potter" wrote:

The data is contained in the range B48:AK81.
Each month is assigned three columns of data.
Each column has 34 rows of data.

The formula needs to be able to copy the data into a worksheet based on the
selection of the desired month from a drop down menu.

"Toppers" wrote:

Bryan,
What is (are) the range(s) of data you are looking at? It
may be possible to use the OFFSET solution I offered.

"Bryan Potter" wrote:

I did consider using the VLOOKUP function, however the formula needs to
account for relative cell references as it needs to be applied to a number of
cells in each column.

Any alternatives (preferably avoiding creating a VLOOKUP classification
table for each row of data)?

Thanks,

Bryan

"Toppers" wrote:

Try ...

=INDIRECT("'Stats and Forecasts - 351'!" & VLOOKUP('Report
Parameters'!E5,Sheet2!A1:B12,2,0))

where sheet2, columns A & B contain month and corresponding cell address

January B48
February E48
etc

HTH

"Bryan Potter" wrote:

Is there any way to bypass the limit of 7 nested functions?

The following formula should return the value in 1 of 12 columns based on
the month that is selected from a drop down menu. However, the limitation of
7 nested functions does not allow it to work? Any ideas how go about this a
different way?

=IF('Report Parameters'!$E$5 = "January", 'Stats and Forecasts - 351'!B48,
IF('Report Parameters'!$E$5 = "February", 'Stats and Forecasts - 351'!E48,
IF('Report Parameters'!$E$5 = "March", 'Stats and Forecasts - 351'!H48,
IF('Report Parameters'!$E$5 = "April", 'Stats and Forecasts - 351'!K48,
IF('Report Parameters'!$E$5 = "May", 'Stats and Forecasts - 351'!N48,
IF('Report Parameters'!$E$5 = "June", 'Stats and Forecasts - 351'!Q48,
IF('Report Parameters'!$E$5 = "July", 'Stats and Forecasts - 351'!T48,
IF('Report Parameters'!$E$5 = "August", 'Stats and Forecasts - 351'!W48),
IF('Report Parameters'!$E$5 = "September", 'Stats and Forecasts - 351'!Z48,
IF('Report Parameters'!$E$5 = "October", 'Stats and Forecasts - 351'!AC48,
IF('Report Parameters'!$E$5 = "November", 'Stats and Forecasts - 351'!AF48,
IF('Report Parameters'!$E$5 = "December", 'Stats and Forecasts -
351'!AI48)))))))))))

Thanks,

Bryan

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Nested Functions

The data is contained in the range B48:AK81.
Each month is assigned three columns of data.
Each column has 34 rows of data.

The formula needs to be able to copy the data into a worksheet based on the
selection of the desired month from a drop down menu.

"Toppers" wrote:

Bryan,
What is (are) the range(s) of data you are looking at? It
may be possible to use the OFFSET solution I offered.

"Bryan Potter" wrote:

I did consider using the VLOOKUP function, however the formula needs to
account for relative cell references as it needs to be applied to a number of
cells in each column.

Any alternatives (preferably avoiding creating a VLOOKUP classification
table for each row of data)?

Thanks,

Bryan

"Toppers" wrote:

Try ...

=INDIRECT("'Stats and Forecasts - 351'!" & VLOOKUP('Report
Parameters'!E5,Sheet2!A1:B12,2,0))

where sheet2, columns A & B contain month and corresponding cell address

January B48
February E48
etc

HTH

"Bryan Potter" wrote:

Is there any way to bypass the limit of 7 nested functions?

The following formula should return the value in 1 of 12 columns based on
the month that is selected from a drop down menu. However, the limitation of
7 nested functions does not allow it to work? Any ideas how go about this a
different way?

=IF('Report Parameters'!$E$5 = "January", 'Stats and Forecasts - 351'!B48,
IF('Report Parameters'!$E$5 = "February", 'Stats and Forecasts - 351'!E48,
IF('Report Parameters'!$E$5 = "March", 'Stats and Forecasts - 351'!H48,
IF('Report Parameters'!$E$5 = "April", 'Stats and Forecasts - 351'!K48,
IF('Report Parameters'!$E$5 = "May", 'Stats and Forecasts - 351'!N48,
IF('Report Parameters'!$E$5 = "June", 'Stats and Forecasts - 351'!Q48,
IF('Report Parameters'!$E$5 = "July", 'Stats and Forecasts - 351'!T48,
IF('Report Parameters'!$E$5 = "August", 'Stats and Forecasts - 351'!W48),
IF('Report Parameters'!$E$5 = "September", 'Stats and Forecasts - 351'!Z48,
IF('Report Parameters'!$E$5 = "October", 'Stats and Forecasts - 351'!AC48,
IF('Report Parameters'!$E$5 = "November", 'Stats and Forecasts - 351'!AF48,
IF('Report Parameters'!$E$5 = "December", 'Stats and Forecasts -
351'!AI48)))))))))))

Thanks,

Bryan

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Nested Functions

Have a look at the OFFSET solution to see if you can add a calculation for
row (and/or) column to take account of the month selected. It's hard (for
me!) to work these out if I havn't the data in front of me.

"Bryan Potter" wrote:

The data is contained in the range B48:AK81.
Each month is assigned three columns of data.
Each column has 34 rows of data.

The formula needs to be able to copy the data into a worksheet based on the
selection of the desired month from a drop down menu.

"Toppers" wrote:

Bryan,
What is (are) the range(s) of data you are looking at? It
may be possible to use the OFFSET solution I offered.

"Bryan Potter" wrote:

I did consider using the VLOOKUP function, however the formula needs to
account for relative cell references as it needs to be applied to a number of
cells in each column.

Any alternatives (preferably avoiding creating a VLOOKUP classification
table for each row of data)?

Thanks,

Bryan

"Toppers" wrote:

Try ...

=INDIRECT("'Stats and Forecasts - 351'!" & VLOOKUP('Report
Parameters'!E5,Sheet2!A1:B12,2,0))

where sheet2, columns A & B contain month and corresponding cell address

January B48
February E48
etc

HTH

"Bryan Potter" wrote:

Is there any way to bypass the limit of 7 nested functions?

The following formula should return the value in 1 of 12 columns based on
the month that is selected from a drop down menu. However, the limitation of
7 nested functions does not allow it to work? Any ideas how go about this a
different way?

=IF('Report Parameters'!$E$5 = "January", 'Stats and Forecasts - 351'!B48,
IF('Report Parameters'!$E$5 = "February", 'Stats and Forecasts - 351'!E48,
IF('Report Parameters'!$E$5 = "March", 'Stats and Forecasts - 351'!H48,
IF('Report Parameters'!$E$5 = "April", 'Stats and Forecasts - 351'!K48,
IF('Report Parameters'!$E$5 = "May", 'Stats and Forecasts - 351'!N48,
IF('Report Parameters'!$E$5 = "June", 'Stats and Forecasts - 351'!Q48,
IF('Report Parameters'!$E$5 = "July", 'Stats and Forecasts - 351'!T48,
IF('Report Parameters'!$E$5 = "August", 'Stats and Forecasts - 351'!W48),
IF('Report Parameters'!$E$5 = "September", 'Stats and Forecasts - 351'!Z48,
IF('Report Parameters'!$E$5 = "October", 'Stats and Forecasts - 351'!AC48,
IF('Report Parameters'!$E$5 = "November", 'Stats and Forecasts - 351'!AF48,
IF('Report Parameters'!$E$5 = "December", 'Stats and Forecasts -
351'!AI48)))))))))))

Thanks,

Bryan

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
Nested Functions Toppers Excel Discussion (Misc queries) 0 February 22nd 07 07:37 PM
More then 7 nested If functions. Sarah Excel Worksheet Functions 2 January 4th 07 07:24 AM
NESTED IF FUNCTIONS EuGene C. White Excel Worksheet Functions 4 July 5th 06 01:06 AM
Nested IF and MID functions Jan Buckley Excel Worksheet Functions 2 June 16th 05 09:46 PM
Nested Functions Mindie Setting up and Configuration of Excel 1 February 16th 05 03:38 AM


All times are GMT +1. The time now is 01:17 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"