Aug 30 2021 12:27 PM
I have attached a screen shot of my spreadsheet.
I feel like this is a simple problem but it is driving me crazy!
In Cell G11 I have the formula =IF(F11>40,F11-40,"0")
The value of cell F11 is 0, but it does have the formula =IF(SUM(F4:F10)>0,SUM(F4:F10),"0").
My formula in G11 thinks the value in cell F11 is larger than 40 and is subtracting 40 when it should actually be "0".
My question is, how can I use cell F11 in my formula in cell G11 to do what I want when it thinks there is a value there when there isn't?
I have a hard time putting my question into words, so hopefully I am not too confusing.
Thank you!
Aug 30 2021 01:21 PM
SolutionUse 0 instead of "0" in the formulas. You can use the MAX function instead of an IF formula:
In F11: =MAX(SUM(F4:F10),0)
In G11: =MAX(F11-40,0)
Aug 30 2021 01:39 PM
Aug 30 2021 04:21 PM
Aug 30 2021 04:25 PM
Aug 30 2021 01:21 PM
SolutionUse 0 instead of "0" in the formulas. You can use the MAX function instead of an IF formula:
In F11: =MAX(SUM(F4:F10),0)
In G11: =MAX(F11-40,0)