#1   Report Post  
Rick Stanford
 
Posts: n/a
Default text as 0

I have cells formatted as 'text' in several worksheets linked to a text cell
on a 'master' worksheet. When I enter text in the cell on the master
worksheet, it is copied into the cells on the linked worksheets. However,
when I delete the text in the cell on the master worksheet, I get a '0' in
the cells on the linked worksheets - rather than a blank.

How can I format the cells in the linked worksheets to just show a blank,
rather than a '0'?

Thanks,
Rick

  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

You can use a custom format like

General;-General;

or you can change the link to

=IF('Master'!A1="","",'Master'!A1)

--
Regards,

Peo Sjoblom


"Rick Stanford" wrote in message
...
I have cells formatted as 'text' in several worksheets linked to a text
cell
on a 'master' worksheet. When I enter text in the cell on the master
worksheet, it is copied into the cells on the linked worksheets. However,
when I delete the text in the cell on the master worksheet, I get a '0' in
the cells on the linked worksheets - rather than a blank.

How can I format the cells in the linked worksheets to just show a blank,
rather than a '0'?

Thanks,
Rick



  #4   Report Post  
Sharon
 
Posts: n/a
Default

Or, if you don't need to see any zeros at all, you can click on the Tools
menu select Options View Tab and uncheck the Zero Values option.

"Rick Stanford" wrote:

I have cells formatted as 'text' in several worksheets linked to a text cell
on a 'master' worksheet. When I enter text in the cell on the master
worksheet, it is copied into the cells on the linked worksheets. However,
when I delete the text in the cell on the master worksheet, I get a '0' in
the cells on the linked worksheets - rather than a blank.

How can I format the cells in the linked worksheets to just show a blank,
rather than a '0'?

Thanks,
Rick

  #5   Report Post  
Gord Dibben
 
Posts: n/a
Default

And more yet.......

Method 1. Hide the zeros using ToolsOptionsView. Uncheck "zero values"

Method 2. Use an IF formula in the linked cells.

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

If you have a great whack of these, after you paste the links, run this macro
on the selected range.

Sub ISBLANK_Add()
Dim myStr As String
Dim cel As Range
For Each cel In Selection
If cel.HasFormula = True Then
If Not cel.Formula Like "=IF(ISBLANK*" Then
myStr = Right(cel.Formula, Len(cel.Formula) - 1)
cel.Value = "=IF(ISBLANK(" & myStr & "),""""," & myStr & ")"
End If
End If
Next
End Sub


Gord Dibben Excel MVP



On Mon, 18 Apr 2005 06:44:42 -0700, "Peo Sjoblom" wrote:

You can use a custom format like

General;-General;

or you can change the link to

=IF('Master'!A1="","",'Master'!A1)


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
SUMPRODUCT vs Text??? Ken Excel Worksheet Functions 2 April 9th 05 07:21 PM
Autofitting a row Josephine Excel Discussion (Misc queries) 2 March 3rd 05 03:37 PM
Sort or Filter option? Mcobra41 Excel Worksheet Functions 3 February 23rd 05 07:22 PM
Why is my text changing to pound signs? SleepyDawn Excel Discussion (Misc queries) 2 February 9th 05 10:52 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


All times are GMT +1. The time now is 04:37 AM.

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

About Us

"It's about Microsoft Excel"