Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Nested Functions | Excel Discussion (Misc queries) | |||
More then 7 nested If functions. | Excel Worksheet Functions | |||
NESTED IF FUNCTIONS | Excel Worksheet Functions | |||
Nested IF and MID functions | Excel Worksheet Functions | |||
Nested Functions | Setting up and Configuration of Excel |