ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   when setting a cell to equal a blank cell it displays 0 (https://www.excelbanter.com/excel-worksheet-functions/252422-when-setting-cell-equal-blank-cell-displays-0-a.html)

BWildeRed

when setting a cell to equal a blank cell it displays 0
 
If I make cell A1=B1 the result in A1 is 0 (zero) if B1 is blank. Is it
possible to have a blank result in A1? I am trying to create a template where
I have some cells equate to others and I would like the cells to show blank
if there is no data in the target cells.

ryguy7272

when setting a cell to equal a blank cell it displays 0
 
Try to format the cell as such:
_(* #,##0.00_);_(* (#,##0.00);_(* ""??_);_(@_)

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"BWildeRed" wrote:

If I make cell A1=B1 the result in A1 is 0 (zero) if B1 is blank. Is it
possible to have a blank result in A1? I am trying to create a template where
I have some cells equate to others and I would like the cells to show blank
if there is no data in the target cells.


T. Valko

when setting a cell to equal a blank cell it displays 0
 
Try this...

=IF(B1="","",B1)

--
Biff
Microsoft Excel MVP


"BWildeRed" wrote in message
...
If I make cell A1=B1 the result in A1 is 0 (zero) if B1 is blank. Is it
possible to have a blank result in A1? I am trying to create a template
where
I have some cells equate to others and I would like the cells to show
blank
if there is no data in the target cells.





All times are GMT +1. The time now is 04:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com