replace blank with 100%

Chimp8471

Registered User.
Local time
Today, 19:21
Joined
Mar 18, 2003
Messages
353
how can i write the following

Combi LME: ([CombiLME2_Crosstab]![PlannedTime]-[CombiLME2_Crosstab]![Combi])/[CombiLME2_Crosstab]![PlannedTime]


so that if the value of [CombiLME2_Crosstab]![Combi]

is zero then it will place 100% in the cell, it currently leaves it blank, where there is no data.

Cheers

Andy
 
When you say "zero" do you mean 0 or Null?
 
null, i think, there is nothing in the cell
 
Combi LME: ([CombiLME2_Crosstab]![PlannedTime]-Nz([CombiLME2_Crosstab]![Combi],100))/[CombiLME2_Crosstab]![PlannedTime]
 
thanks but it doesn't seem to put 100 in the cell, instead it gives me various figures.
 
Try
Combi LME:NZ(([CombiLME2_Crosstab]![PlannedTime]-[CombiLME2_Crosstab]![Combi])/[CombiLME2_Crosstab]![PlannedTime] ,1)
 

Users who are viewing this thread

Back
Top Bottom