Unable to subtract one cell from another in Numbers app

I am trying to subtract one cell from another to take the difference between two numbers. I cannot for the life of me figure out what I'm doing wrong.


I have a dollar amount in cell Q87. I have a dollar amount in cell Q88. In cell Q89, the formula says "=Q87-Q88". See images below.


Here you see the two dollar amounts. I am subtracting $24,160.00 from $14,580.00 in the third cell that is white.




Here is a screenshot with the formula showing.



Why is it showing up blank?


The above are screenshots from the iCloud version. It is doing the same thing in native Apple Numbers on my MacBook Pro.


I wondered if there was maybe some format issues and the results were actually there, but I couldn't find anything. I copied the results and pasted formula results in another cell, nothing there either.


Mystified. Thanks.



[Re-Titled by Moderator]

Original Title: Can't get a simple formula to work!



MacBook Pro (M4)

Posted on Sep 4, 2025 09:44 AM

Reply
5 replies

Sep 4, 2025 02:40 PM in response to stevenjo57

When odd things happen I look for oddities in what has been posted. One oddity is the formula results.

O87 is $15,750

O88 is $7,685.

The formula you provided in your first post for cell Q89 was =Q87-Q88 which leads me to think the formula for O89 would be =O87-O88 but the result there would be $8,065 not -$23,435. Is O89 a different formula?


Back to the question, though...


With cell Q89 selected, what does it say at the bottom of the window? Does it show your formula?



If you double click the cell to bring up the formula editor, it should give the formula result at the bottom of the screen. Is it correct?


With the cell selected, what is the text color shown in the format sidebar? You posted the data format (currency) and fill color (none) from the "Cell" tab but not the text color in the "Text" tab.


Are the screenshots you posted of the cell formatting and conditional highlighting those of cell Q89? It looks like cell O89 is selected and you talk about O89, which made it a little confusing.



Sep 4, 2025 11:08 AM in response to stevenjo57

Your formula is about as straightforward as it gets, so I can see why you're confused.


I an only think of two things that would cause this.


One is conditional formatting, that's set to mask the result if it's negative

(check Inspector -> Format -> Cell -> Conditional Formatting with the cell selected).


The other is a custom data format that suppresses negative values.

(check Inspector -> Format -> Cell -> Data Format -> Custom Format). As an example, here's a custom format that nixes non-positive values:



The latter would be easy to test by changing either changing the cell format to the standard 'Currency', or edit the formula to subtract the smaller number from the larger one. That would at least give a positive value and may indicate the format as being the issue.

Sep 4, 2025 12:37 PM in response to Camelot

Thanks so much for your help!


I am not seeing formatting that should affect this, but let me let you look at it.


Here is a bigger section of the spreadsheet.



As best I can tell, the cell with -$23,435.00 has the exact same formula and formatting as the cell in question, the blank one. Here are screenshots of the formatting.



There is some conditional formatting to indicate increases and decreases, but these seem to work in previous columns. Here is a screen shot.




I consider myself fairly adept at spreadsheeting, but this one is a headscratcher to me.


Thanks again!


[Edited by Moderator]

Unable to subtract one cell from another in Numbers app

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.