Thread: text as 0
View Single Post
  #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)