Excel formula goes red and gives answer 0

willekins1

New Member
Joined
Nov 13, 2024
Messages
4
Office Version
  1. 365
Platform
  1. MacOS
Hi,
I am trying to divide on excel, but every time I do, the second cell goes red in the formula as seen in photo and the answer comes out as zero. Is there a way I can fix this? Thanks
Screenshot 2024-11-13 at 13.00.18.png
H
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
You are trying to divide D7 by the cell the formula resides in or the cell below?
 
Upvote 0
Hi & welcome to MrExcel.
Are those values numbers formatted to show a B or is the B in the actual cell making them text?
 
Upvote 0
What is the cell formatted as? I ask because my result is below

Test Workbook .xlsb
D
749.55
8
9
10
11101.29
120.489189
13
Sheet5
Cell Formulas
RangeFormula
D12D12=D7/D11
 
Upvote 0
Hi thank you.
The B is to show billion. The weird thing is that I have another set of data in the same way just for a different country a few rows down in the same columns, and when I tried to do it for that set of data, the cell went red again but it gave the correct answer, just without the B so I'm not sure why one works and the other doesn't. When I open format it says general
 
Upvote 0
The B is to show billion. The weird thing is that I have another set of data in the same way just for a different country a few rows down in the same columns, and when I tried to do it for that set of data, the cell went red again but it gave the correct answer, just without the B so I'm not sure why one works and the other doesn't. When I open format it says general
Fluff is asking if you have typed the B in my hand, in which case you have made the cell text and not a number.
 
Upvote 0
Ok so I copied that data set and pasted it about 10 cells down and it is now working... Not quite sure what the issue is but it works when moved down so that's ok. Thanks for the help
 
Upvote 0
It might just have been the number format of the formula cell.
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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