Linked sheets problem

Excelnoobster

New Member
Joined
Sep 4, 2007
Messages
18
Hi. I have a sheet linked to another sheet. If a cell from the source sheet is blank the second sheet displays a 0. Is there a way so set up the second sheet to display a blank istead of a 0. Thanks.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
You can use a formula like:

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

or you can suppress zeroes with a number format like 0;0;.
 

Excelnoobster

New Member
Joined
Sep 4, 2007
Messages
18
Thanks for your quick reply Andrew.

Where about would i put in this formula. Would it go in the cell formula or conditional formating box?

If the cell reads [anything.xls]Sheet1'!A1 does it go in there somehow. Dont think the number format will work as there is text, dates and times in the sheet.
 

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
The syntax is:

=IF(YourFormula,YourFormula,"")

To cater for text you can use:

=IF(LEN(YourFormula),YourFormula,"")

The number format I gave you was just an example. It's the presence of the second semicolon with nothing following it that suppresses the zero. So you can also use:

dd/mm/yyyy;;
hh:mm:ss;;
 

Forum statistics

Threads
1,141,018
Messages
5,703,754
Members
421,313
Latest member
Mooncake1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top