Solved

Excel fill down showing zero (prefer a blank)

Posted on 2014-02-01
3
327 Views
Last Modified: 2014-02-01
Hi,

This should be easy!

I have sheetA and sheetB - with peoples names in sheetA - column A.

In sheetB I have set cell A1 to cell A100 as follows :    =sheetA!A1  (and A2 etc).

This works fine except that if , for example, SheetA!A8 is blank then this is presented in SheetB!A8 as a zero....

In other words when I copy a blank cell - this results in a ZERO being displayed.
These are NOT numeric fields and I need a blank displayed NOT ZERO.

Help!
Thanks.
0
Comment
Question by:Patrick O'Dea
3 Comments
 
LVL 18

Accepted Solution

by:
Steven Harris earned 250 total points
ID: 39826316
Try using an IF statement to filter out blank results:

=IF(SheetA!A1<>"", SheetA!A1, "")

If SheetA!A1 is not blank, then show the value.  If it is blank, return an empty string.
0
 
LVL 29

Assisted Solution

by:gowflow
gowflow earned 250 total points
ID: 39826358
you can aslo hide zeros for the entire workbook which is sometimes more convenient than having to change a zillion formulas. If it is only the one you mention then it is no sweat but if you deal with large worksheets that have plenty of fields that return zero you can do this:

Click on the Office button on top left of the workbook
choose Excel Options
Click Advanced on the left pane
Then locate the section Display Option for this worksheet and it will show you the worksheet you are in and you have an option that say
Show Zero in Cell that have a zero value
make sure it is 'Unticked'
close excel and here you go.

gowflow
0
 

Author Closing Comment

by:Patrick O'Dea
ID: 39826609
Thanks folks,

Useful tips but I may end up with a more "manual" fix..
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now