ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Force a blank cell to zero (https://www.excelbanter.com/excel-discussion-misc-queries/61465-force-blank-cell-zero.html)

Roz

Force a blank cell to zero
 

How can I force a blank cell to equal 0 in a column?


--
Roz
------------------------------------------------------------------------
Roz's Profile: http://www.excelforum.com/member.php...o&userid=29746
View this thread: http://www.excelforum.com/showthread...hreadid=495299


pinmaster

Force a blank cell to zero
 

Roz

Blank cells always equal 0. To prove it type =A1 in a cell, if A1 is
blank it will return 0.

Regards
JG


--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: http://www.excelforum.com/member.php...fo&userid=6261
View this thread: http://www.excelforum.com/showthread...hreadid=495299


JMay

Force a blank cell to zero
 
A quick way to do what you are asking is as follows:
Select the column say column C (click on the "C")
that already has your data in it.
Press the F5 function key - from dialog box click on Special... then click on
BLANK, OK.
The used range (only) of Column C will be selected (highlighted). The first
blank cell will become the activecell.
In it enter 0 (that's zero) <<DO NOT PRESS ENTER,,,
Instead Press CONTROL + Enter (simultaneously).
All previous blanks should now = 0

HTH





"Roz" wrote in message
...

How can I force a blank cell to equal 0 in a column?


--
Roz
------------------------------------------------------------------------
Roz's Profile:
http://www.excelforum.com/member.php...o&userid=29746
View this thread: http://www.excelforum.com/showthread...hreadid=495299




tghcogo

Force a blank cell to zero
 

pinmaster Wrote:
Roz

Blank cells always equal 0. To prove it type =A1 in a cell, if A1 is
blank it will return 0.

Regards
JG


This is providing you have ticked the "zero values" box in
Tools/options/view - window options


--
tghcogo
------------------------------------------------------------------------
tghcogo's Profile: http://www.excelforum.com/member.php...o&userid=10494
View this thread: http://www.excelforum.com/showthread...hreadid=495299



All times are GMT +1. The time now is 04:33 AM.

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