Here's a juicy one for you (IFs, ANDs, ISERRORs and SUMs)

HugoRune

New Member
Joined
Nov 12, 2009
Messages
29
Hi guys,

Wondering why Excel is giving me a result for the following formula.

=IF(AND(G139>0.194,H139>0.744),"A",IF(SUM(G139+H139)>0.744,"B",IF(SUM(G139+H139+I139)>0.894,"C",IF(AND(G139="",H139="",I139="",J139=""),"","D"))))

In the above example despite cells G139, H139, I139 and J139 being blank it still returns a value of "A"

I think it may have something to do with these cells containing another formula {=IF(ISERROR(SUM(B139/$F139)),"",SUM(B139/$F139))} which returns the blank value.

Is this a Microsoft Programming "Feature" aka "bug"? and is there any way around it?

Hope you can help

Cheers
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
If you use Evaluate Formula you'll see that both G139>0.194 and H139>0.744 are returning TRUE even though "" is in both cells. Indeed if you enter ="">1 in a cell it will return TRUE. Not a problem I've encountered before. Anyone else??
 
Upvote 0

Forum statistics

Threads
1,224,516
Messages
6,179,231
Members
452,898
Latest member
Capolavoro009

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