cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
chandankishor66
Level III

Mean value for empty cells with column

HI,

I am tring to calculate mean for a column. The Mean have calcuated well for :Column 1 but their empty cells have also filled with mean values.

I donot want mean values to be filled for empty cell.

Is other any way to get rid of mean value for empty cell.

 

chandankishor66_1-1667800998510.png

 

Regards,

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
txnelson
Super User

Re: Mean value for empty cells with column

Here is a column formula that works 

If( Is Missing( :Column 1 ) == 0,
	Col Mean( :Column 1 )
)
Jim

View solution in original post

jthi
Super User

Re: Mean value for empty cells with column

You can check for missing values by using If-statement with IsMissing and if the value isn't missing add mean otherwise add missing value (note the "!" in formula for Not()).

If(!Is Missing(:Column 1),
	Col Mean(:Column 1)
,
	.
)
-Jarmo

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: Mean value for empty cells with column

Here is a column formula that works 

If( Is Missing( :Column 1 ) == 0,
	Col Mean( :Column 1 )
)
Jim
jthi
Super User

Re: Mean value for empty cells with column

You can check for missing values by using If-statement with IsMissing and if the value isn't missing add mean otherwise add missing value (note the "!" in formula for Not()).

If(!Is Missing(:Column 1),
	Col Mean(:Column 1)
,
	.
)
-Jarmo