Formula not working

Ash Hayashi

New Member
Joined
Sep 13, 2023
Messages
11
Office Version
  1. 365
Platform
  1. Windows
Hello.
I am trying to input a formula [ IFERROR(A8*P8, " ") ] which I typically use to hide the formula or make the cell appear blank when data is not entered into cell A8 or P8.
However, when I'm typing it in, it's still showing as [ 0 ] on the cell.
1740670331065.png


I'm not sure what I'm missing or doing wrong. Any thoughts or feedback would be appreciated.
 
The empty cells are evaluated as zero's and 0*0 doesn't result in an error.

You could try like this:
Excel Formula:
=IF(AND(A8<>0,P8<>0),A8*P8,"")
or like this:
Excel Formula:
=LET(m,A8*P8,IF(m=0,"",m))
 
Upvote 0
Solution
Sorry, a quick follow up question.
I have added the formula's in and it seems to be working. As soon as I close the file or share it, it resets the formulas to show this:
1740689244511.png


Thoughts?
 
Upvote 0
Which formula are you using? That image looks like the formula bar, which would indicate the formula is being overridden. Do you have any VBA in that workbook?
 
Upvote 0
I was using the =LET formula you suggested above.
As mentioned, whenever I close it, it resets/erases the formula to show =#VALUE!
I tried the =IF formula, and that seems to be working better.


Now I'm I'm trying to get a total at the bottom in cell Q16. It needs to sum the totals from R3 - R14. But, I wanted it to show nothing until there is actual data int he other columns.
1740768218824.png


I don't have any VBA's.

Thank you for your help!
 
Upvote 0
whenever I close it, it resets/erases the formula to show =#VALUE!
I have no idea what's going on there!
I tried the =IF formula, and that seems to be working better.
(y)
It needs to sum the totals from R3 - R14. But, I wanted it to show nothing until there is actual data int he other columns.
New questions should really be in new threads, but do you mean like this?
Excel Formula:
=IF(COUNT(R3:R14),SUM(R3:R14),"")
 
Upvote 0
I was using the =LET formula you suggested above.
As mentioned, whenever I close it, it resets/erases the formula to show =#VALUE!
I tried the =IF formula, and that seems to be working better.


Now I'm I'm trying to get a total at the bottom in cell Q16. It needs to sum the totals from R3 - R14. But, I wanted it to show nothing until there is actual data int he other columns.
View attachment 122830

I don't have any VBA's.

Thank you for your help!
Are you perhaps sharing it with someone who has an older version of Excel that does not have the LET function?
 
Upvote 0

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