Link to home
Start Free TrialLog in
Avatar of Star Gazr1
Star Gazr1Flag for United States of America

asked on

Excel return blank cell as 0

I am working with Excel 2010.  I attached a sample spreadsheet.  I am looking to return the values in column A on sheet2 to column A in sheet1.
I would like the 0 values and blank cells to return as value 0.  I tried to work with =ISBLANK but wasn't working.  Any info is greatly appreciated, thank you.
Book1.xlsx
Avatar of zorvek (Kevin Jones)
zorvek (Kevin Jones)
Flag of United States of America image

When a cell is referenced from another location Excel converts empty cells to zeros. For example, placing the formula "=A1" in cell B1 results in B1 displaying "0" when A1 is empty. To get around this us this formula:

   =IF(A1="","",A1)

When referencing ranges of cells use a multiple cell array formula:

   =IF($A$1:$Z$100="","",$A$1:$Z$100)

Multiple cell array formulas are entered by selecting the destination cells, entering the formula in the first cell, and pressing CTRL+SHIFT+ENTER.

Kevin
Avatar of Star Gazr1

ASKER

thanks for the reply.  I am not sure I was clear in my question, so I will try to clarify.  In Sheet1 I am looking for a formula in Cell A2, that will bring back the value in cell A2 in Sheet2.  If the value is blank I want it to display 0, if the Value is 0, I also want it to display 0.   Thanks.
ASKER CERTIFIED SOLUTION
Avatar of zorvek (Kevin Jones)
zorvek (Kevin Jones)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks that works, I appreciate it.