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

I need to use 11 if statements in a nested if, but Excel 2003 only allows 6
or 7. Here is what I am trying to do:

In Cell A3 on Sheet1, users can select the months from a dropdown menu. The
result I desire is that the lower table updates based on the month input by
referencing other sheets. Here is what I am trying to do:

=if(A3="January", 'January'!B9, if(A3="February", 'February!'B9,
if(A3="March", 'March'!B9, if(A3="April", 'April!'B9, if(A3="May", 'May'!B9,
if(A3="June", 'June'!B9,...if(A3="November", 'November'!B9,
'December'!B9)))))))))))

The data from each month needs to be on different sheets for easy of
reading. Is there any way to do something with a similar outcome in Excel
2003?

Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Nested If

Try

=INDIRECT(A3&"!B9")

Mike

"SeanF74" wrote:

I need to use 11 if statements in a nested if, but Excel 2003 only allows 6
or 7. Here is what I am trying to do:

In Cell A3 on Sheet1, users can select the months from a dropdown menu. The
result I desire is that the lower table updates based on the month input by
referencing other sheets. Here is what I am trying to do:

=if(A3="January", 'January'!B9, if(A3="February", 'February!'B9,
if(A3="March", 'March'!B9, if(A3="April", 'April!'B9, if(A3="May", 'May'!B9,
if(A3="June", 'June'!B9,...if(A3="November", 'November'!B9,
'December'!B9)))))))))))

The data from each month needs to be on different sheets for easy of
reading. Is there any way to do something with a similar outcome in Excel
2003?

Thanks,

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Nested If

Try the below formula

=INDIRECT(A3 & "!B9")

If this post helps click Yes
---------------
Jacob Skaria


"SeanF74" wrote:

I need to use 11 if statements in a nested if, but Excel 2003 only allows 6
or 7. Here is what I am trying to do:

In Cell A3 on Sheet1, users can select the months from a dropdown menu. The
result I desire is that the lower table updates based on the month input by
referencing other sheets. Here is what I am trying to do:

=if(A3="January", 'January'!B9, if(A3="February", 'February!'B9,
if(A3="March", 'March'!B9, if(A3="April", 'April!'B9, if(A3="May", 'May'!B9,
if(A3="June", 'June'!B9,...if(A3="November", 'November'!B9,
'December'!B9)))))))))))

The data from each month needs to be on different sheets for easy of
reading. Is there any way to do something with a similar outcome in Excel
2003?

Thanks,

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 IF Jo Excel Worksheet Functions 2 October 26th 08 04:06 AM
nested if Janis Excel Discussion (Misc queries) 3 August 14th 07 06:42 PM
Nested IFs Alvaro Excel Worksheet Functions 4 August 12th 07 10:33 PM
nested if based on nested if in seperate sheet. how? scouserabbit Excel Worksheet Functions 5 March 2nd 07 04:03 PM
Nested IF Gos-C Excel Worksheet Functions 2 July 11th 06 04:52 PM


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