Solved

Excel fill down showing zero (prefer a blank)

Posted on 2014-02-01
3
330 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

776 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