MEDIAN

gronkette1

Board Regular
Joined
Mar 12, 2002
Messages
90
I need to compute the MEDIAN value for the following list, but I must ignore the blanks and FALSE (it skews the result).

thank you !


$28.95
$28.00
$-
$28.44
$27.40
$27.92
$28.44
$27.92
$-
$-
$26.88
$-
$27.92
$-
$27.50
FALSE
$-
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
 
Hi Yogi,

Did you copy the data from the post? If so, you have the $- (blanks in the OP's terms) being treated as text, which is ignored with the MEDIAN function. That is why the problem is the zero values and not the FALSE cells.

Change the $- to zero and you should get 27.45.

Regards,
Jay
Hi Jay:
Ya! you are right Jay ... I had copied and pasted from the board!
This message was edited by Yogi Anand on 2002-04-11 10:53
 
Upvote 0

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
On 2002-04-11 10:35, gronkette1 wrote:
You guys are the greatest!!!

I used {=MEDIAN(IFL4:L41<>0,L4:L41))}

and it returned $27.92

thank you, thank you!

Now try:

=MEDIAN(IF(L4:L41,L4:L41))

array-entered.

If it gives you #VALUE!, then you have blanks in L4:L41 which are generated by a formula.

If you change that formula to return 0 instead of "", the above formula will you the desired result.

Aladin
 
Upvote 0

Forum statistics

Threads
1,214,544
Messages
6,120,126
Members
448,947
Latest member
test111

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top