Excel thinks cell is a "0" when it is anything but.

Pointy Teeth

New Member
Joined
Jun 8, 2023
Messages
4
Office Version
  1. 2021
Platform
  1. Windows
I have a column of data that returns positive-only numbers, yet when I chart that data, many zeros are returned. I did a find (CTRL+F) in the column and searched for "0", and sure enough, excel thinks a cell is a zero even when the FIND ALL shows the value of that cell as a positive value.

for example, in Cell Q20 I have this formula "=IF(P20<=$S$43,P20,NA())", which is currently returning "8". FYI, I'm using "NA()" so the chart will ignore those and not plot them.
It's not a rounding error.
I've verified the formatting and I have tried GENERAL as well as NUMBER, with no change in behavior.
I've even wrapped the formula in the VALUE() function, just in case.
I've evaluated the formula, and at no point does a zero even show up.
I've even used the Error Checking feature which returns no errors.

Does anyone know why this happens and what the fix is?
I appreciate any insight.

Thank you~
 

Attachments

  • Excel error.png
    Excel error.png
    18.8 KB · Views: 24

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Make sure that the Look in: box is set to Values not Formulas
 
Upvote 0
It shouldn't. When you look at the results you posted it is finding the 0 in the cell references.
 
Upvote 0
It shouldn't. When you look at the results you posted it is finding the 0 in the cell references.
Agreed; it shouldn't. When I check that cell with a simple formula, the formula doesn't treat the cell as a zero, it treats it as '8'. however, both the Chart and the Find and Replace tool are treating it as '0'.
 
Upvote 0
Out of curiosity, what do these formulas return, if you enter them in any blank cell on your sheet:
=ISNUMBER(P20)
=ISNUMBER(P30)
 
Upvote 0
The ISNUMBER functions each return TRUE.
Interestingly, when I first hit enter after typing the formula, a zero appears for a couple seconds before the formula returns TRUE.

This workbook had built built upon a couple of times and I just decided to rebuild this from a new file. The zero problem appears to have corrected itself. Starting from a new file did the trick. Not sure if there was corrupted data or some other thing lurking in the background. Either way, after rebuilding it, am no longer experiencing a problem.

Thanks for the speedy responses!!
 
Upvote 0
Solution
The ISNUMBER functions each return TRUE.
Interestingly, when I first hit enter after typing the formula, a zero appears for a couple seconds before the formula returns TRUE.

This workbook had built built upon a couple of times and I just decided to rebuild this from a new file. The zero problem appears to have corrected itself. Starting from a new file did the trick. Not sure if there was corrupted data or some other thing lurking in the background. Either way, after rebuilding it, am no longer experiencing a problem.

Thanks for the speedy responses!!
Yeah, it sounds like it might have been some corruption or something else going on.
Glad you were able to get it working!
 
Upvote 0

Forum statistics

Threads
1,215,086
Messages
6,123,043
Members
449,092
Latest member
ikke

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