empty cells

P

Perry Diels

Hi All,

I have an Excel workbook with multiple sheets. On sheet 2 I refer to a cell
of sheet 1 like this:

=Sheet1!B2

This works fine of course, but my question is, if the referenced cell in
sheet 1 is empty I don't want a 0 to appear on the target cell in Sheet2.
What's the formula for that?

Thanks in advance,
Perry
 
G

Gord Dibben

Perry

Either turn off zeros in Tools>Options>View, which is a worksheet setting(not
workbook) or enter a formula like

=IF(Sheet1!B2="","",Sheet1!B2)

Gord Dibben Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top