Nested IF Formula Limitation

ben123456

New Member
Joined
Jun 17, 2011
Messages
22
Hey

i get the nesting limit error when using this beast

=IF(H6=3,J6,IF(H7=1,IF(K8>0.01,SUM((F7-(J4*K7)/G7)+I7,IF(H7=2,IF(K8>0.01,SUM((F7-(J4*K7)/G7)+((F8-(J4*K8)/G8)+I7,IF(H7=3,IF(K8>0.01,SUM((F7-(J4*K7)/G7)+((F8-(J4*K8)/G8)+((F9-(J4*K9)/G9)+I7,IF(H8=1,IF(K8>0.01,SUM((F8-(J4*K8)/G8)+I8,IF(H8=2,IF(K8>0.01,SUM((F8-(J4*K8)/G8)+((F9-(J4*K9)/G9)+I8,IF(H8=3,IF(K8>0.01,IF(K9>0.01,IF(K10>0.01,SUM((F8-(J4*K8)/G8)+((F9-(J4*K9)/G9)+((F10-(J4*K10)/G10)+I8)),IF(H6=3,J6,IF(H7=1,IF(K8>0.01,SUM(((F8-(J4*K8)/G8)+I7,SUM((F8/G8)+I7)),IF(H7=2,IF(K8>0.01,SUM((F7-(J4*K7)/G7)+(F8-(J4*K8)/G8)+I7,SUM((F7/G7)+(F8/G8)+I7),IF(H7=3,(F7-(J4*K7)/G7)+(F8-(J4*K8)/G8)+(F9-(J4*K9)/G9)I7,SUM((F7/G7)+(F8/G8)+(F9/G9)+I7),IF(H8=1,(F8/G8)+I7,IF H8=2,(F8/G8)+(F9/G9)+I7,IF(H7=3,(F10/G10)+(F10/G10)+(F10/G10)+I7)


I need everything on that :(
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
The 1st IF in your formula is...

=IF(H6=3,J6,...

In the middle of your formula you have another IF(H6=3,J6...

That second IF(H6=3 and the succeeding parts will never have the chance to evaluate.
 
Upvote 0

Forum statistics

Threads
1,224,583
Messages
6,179,673
Members
452,937
Latest member
Bhg1984

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top