Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Link to an empty cell question.

Hello,

I have a cell with a link to another cell which will either be blank(empty)
or contains a number. Currently, when the source cell is empty a 0 appears
in the destination cell. If the source is empty Id like the link to return
a null instead of 0.
Is there a setting to do that without using =IF() in the link cell?
I also would not like to use a space to clear the source cell.

Any ideas are appreciated.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Link to an empty cell question.

You must explicitly test:

=IF(A1="","",A1)
--
Gary''s Student - gsnu200828


"h2fcell" wrote:

Hello,

I have a cell with a link to another cell which will either be blank(empty)
or contains a number. Currently, when the source cell is empty a 0 appears
in the destination cell. If the source is empty Id like the link to return
a null instead of 0.
Is there a setting to do that without using =IF() in the link cell?
I also would not like to use a space to clear the source cell.

Any ideas are appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 345
Default Link to an empty cell question.

An option is to hide the zero - in Excel 2003

On the Tools menu, click Options, and then click the View tab.
Do one of the following:
1. To display zero (0) values in cells, select the Zero values check box
2. To display zero values as blank cells, clear the check box.

or

You could use conditional format to change the colour of the zero to match
the background colour of the cell (assuming your cell is white):

1. Select the cell that contains the zero (0) value.
2. On the Format menu, click Conditional Formatting.
3. In the box on the left, click Cell Value Is.
4. In the second box from the left, click equal to.
5. In the box on the right, type 0.
6. Click Format, and then click the Font tab.
7. In the Color box, select white

Both these methods have been copied from Microsoft help files.

Hope this helps


"h2fcell" wrote:

Hello,

I have a cell with a link to another cell which will either be blank(empty)
or contains a number. Currently, when the source cell is empty a 0 appears
in the destination cell. If the source is empty Id like the link to return
a null instead of 0.
Is there a setting to do that without using =IF() in the link cell?
I also would not like to use a space to clear the source cell.

Any ideas are appreciated.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reposted question: If cell is empty show userform???????? Tdp Excel Discussion (Misc queries) 2 January 15th 09 05:15 PM
Question: Is it possible to link a cell to a comment box window? Kent Excel Discussion (Misc queries) 3 November 5th 07 07:56 PM
Question: Is it possible to link a cell to a comment box window? Kent Excel Discussion (Misc queries) 0 November 5th 07 06:37 PM
why a reference to an empty cell is not considered empty Nicoscot Excel Discussion (Misc queries) 10 March 10th 06 05:36 AM
empty cell question D Excel Worksheet Functions 4 July 28th 05 09:25 AM


All times are GMT +1. The time now is 09:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright 2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"