Cell = another Cell Value but shows 0

data808

Active Member
Joined
Dec 3, 2010
Messages
353
Office Version
  1. 2019
Platform
  1. Windows
I have a few cells that reflect values from other cells. The way I do this is by typing "=" in the formula box then whatever the other cell is that I want to copy the value from. I notice all these cells will have 0's in them if the source cell is null or blank. I also have some formatted date cells that I am doing the same thing for and they are showing as 01/00/00.

Is there any way to stop this from happening? I would just like these cells to show up as blank cells if the source cell value is blank.

Thanks!
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Hi There

Have you tried setting the display options for the sheet in options to Not show 0 in cells which are blank? Just uncheck the option then all cells with a zero value will show blank...

Screenshot 2022-08-31 103552.png
 
Upvote 0
=IF(A1<>"",A1,"")
Thanks. I'll try this but I already have an "=" sign in there so won't this formula interfere with that? Or maybe it covers both scenarios to copy and show "" which would be great. lol
 
Upvote 0
Hi There

Have you tried setting the display options for the sheet in options to Not show 0 in cells which are blank? Just uncheck the option then all cells with a zero value will show blank...

View attachment 72883
Thanks but I need this to follow the file as other people will be using this template so I don't want to have to change settings on everyone's computer. Thanks for the help though.
 
Upvote 0
Thanks. I'll try this but I already have an "=" sign in there so won't this formula interfere with that? Or maybe it covers both scenarios to copy and show "" which would be great. lol
Hi, you should be able to replace your existing = sign with this kind of formula. If you preferred that it showed a "=" rather than a blank when the cell is empty, just use "=" instead of "" in the last part of my formula.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,749
Members
448,989
Latest member
mariah3

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