LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
malik641
 
Posts: n/a
Default How many IF's can you have in a nested IF function?


here's what I got

and I know, its rediculous.....

=IF($AM$3="Final",

SUM(H10:J10,L10:N10,P10:R10,T10:V10,X10:Z10,AB10:A D10,AF10:AH10,AJ10:AL10,AN10:AP10),
IF($AI$3="Final",

SUM(H10:J10,L10:N10,P10:R10,T10:V10,X10:Z10,AB10:A D10,AF10:AH10,AJ10:AL10),
IF($AE$3="Final",
SUM(H10:J10,L10:N10,P10:R10,T10:V10,X10:Z10,AB10:A D10,AF10:AH10),
IF($AA$3="Final",
SUM(H10:J10,L10:N10,P10:R10,T10:V10,X10:Z10,AB10:A D10),
IF($W$3="Final",
SUM(H10:J10,L10:N10,P10:R10,T10:V10,X10:Z10),
IF($S$3="Final",
SUM(H10:J10,L10:N10,P10:R10,T10:V10),
IF($O$3="Final",
SUM(H10:J10,L10:N10,P10:R10),
IF($K$3="Final",
SUM(H10:J10,L10:N10),
IF($G$3="Final",
SUM(H10:J10),"")))))))))

I tried to make it as readable as possible.

I get an error at the eighth IF statement....but it looked fine to me
so I decided to slowly add all the IF's starting from the end and
working my back to the beginning....after 7 IF statements it give me an
error on the eighth IF.

I could only guess that excel can only handle 7 IF's???? But that
doesn't seem right.

Any suggestions?


--
malik641
------------------------------------------------------------------------
malik641's Profile: http://www.excelforum.com/member.php...o&userid=24190
View this thread: http://www.excelforum.com/showthread...hreadid=379759

 
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
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
Countif Function -Nested Angi Excel Discussion (Misc queries) 7 May 4th 05 07:04 PM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
Function Macro for Nested IF Qaspec Excel Worksheet Functions 5 March 10th 05 07:25 PM


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