IF formula won't read criterion cell

excellenfant

New Member
Joined
Nov 23, 2016
Messages
8
Hello,

I have an if formula, if('sheetA'!D7<0,abs('sheetA'!D7),0). The value in the criterion cell is substantially lower than 0. Nevertheless, the if formula doesn't return the absolute value. No error code shows. The formula does not show as text. Just in case, I checked the formats anyway.

This is part of a pro forma model for class with an automatic drawdown on a revolver. I have automatic calculations enabled, as well as iterative calculations (up to 100).

Any thoughts?
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Welcome to the board.

You said it doesn't return the absolute value.
What result DOES the formula give?

What does this return
=ISNUMBER('sheetA'!D7)

?
 
Upvote 0
Is your Sheet name "sheetA" or just "A"?
 
Upvote 0
Hello,

I have an if formula, if('sheetA'!D7<0,abs('sheetA'!D7),0). The value in the criterion cell is substantially lower than 0. Nevertheless, the if formula doesn't return the absolute value. No error code shows. The formula does not show as text. Just in case, I checked the formats anyway.

This is part of a pro forma model for class with an automatic drawdown on a revolver. I have automatic calculations enabled, as well as iterative calculations (up to 100).

Any thoughts?
 
Upvote 0
=IF(sheetA!D7<0,ABS(sheetA!D7),0)

should work.

What do you get with the following?

=ISNUMBER(sheetA!D7)

=sheetA!D7&""
 
Upvote 0
Yes, there is an = sign in front of the formula.

I didn't think about this until just now when I noticed a similar problem with a different If formula, in cell B5. Both D7 and the criterion cell for the formula in B5 themselves contain a formula, albeit simple ones similar to =(a1+a2).

Will an If formula not read a cell containing another formula?
 
Upvote 0

Forum statistics

Threads
1,214,399
Messages
6,119,279
Members
448,884
Latest member
chuffman431a

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