Large Nesting Problem

breakr19

New Member
Joined
Aug 5, 2011
Messages
6
I'm looking to combine the following formulas into one cell. I would nest them, but I can't even get that to work correctly for two of them, let alone all six. There has to be a simpler way that I am just not knowledgeable about.

IF(AND($F52>$K52,$D52<$I52),16-ABS($D52-$I52))

IF(AND($F52>$K52,$D52>$I52),16+ABS($D52-$I52))

IF(AND($F52<$K52,$D52<$I52),16+ABS($D52-$I52))

IF(AND($F52<$K52,$D52>$I52),16-ABS($D52-$I52))

IF(AND($F52>$K52,$D52=$I52),16)

IF(AND($F52<$K52,$D52=$I52),16)
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Formulas 5 and 6 are redundant to the first 4.

What if F52=K52?
 
Upvote 0
This is getting close:
=16+($I52-$D52)*IF(F52>K52,-1,1)
it just doesn't return FALSE when F and K are equal.
 
Upvote 0
shg is right on the redundancy of 5 and 6.

F52 will never = K52 due to the fact that they are head-to-head competitions, and the end result will always have one higher than the other.



p45cal, your formula works exactly like I need it to. It's crazy how much more simplified and clean that is compared to the listing (and possible nesting) of the other four. Thank you!
 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,429
Members
448,961
Latest member
nzskater

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