I want to use a range in MEDIAN but want to exclude cells with a 0 value.
MEDIAN(K2:K27)
I want to use a range in MEDIAN but want to exclude cells with a 0 value.
MEDIAN(K2:K27)
Last edited by Nunzio; 04-15-2010 at 11:44 AM.
Try:
=MEDIAN(IF(K2:K27<>0,K2:K27))
confirmed with CTRL+SHIFT+ENTER not just ENTER.
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
I am getting a #VALUE
Did you figure it out. ... I see you marked it Solved after your last post?
Yes, Thanks
MEDIAN(IF(ISERROR(K2:K27<>0),K2:K27))
I am not sure how that fixed your problem?
Do you have errors in your K2:K27 range...
I don't get that error unless I have that error within the range already.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks