Help needed with MedianIF

Willjcbaker

New Member
Joined
Apr 4, 2017
Messages
3
Hi all,

I'm pulling my hair out trying to get a medianIF to work.I have two columns, one with time stamps (E), and the other with an elapsed time SUM calculation in it(F).

I want to find the median of all the values in F, which are in a custom date format of [HH]:MM:SS but also exclude any incomplete records that have no time stamp in column E.

What I've tried is: =MEDIAN(IF($E$2:$E$62000<>"0000-00-00 00-00-00",$F$2:$F$62000,))

But it just returns a value of 0. I've tried rewriting the formula to ignore anything that has "$VALUE!" In column F, but that didn't work either.

Please someone help so I can stop pulling my hair out!
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Effectively what I replicate is AVERAGEIF, which I already have working.

Also, the sum in column F is based off another time stamp, one for start and one for end (which is column E)
 
Upvote 0
If there is no time stamp in column E, what is there? Is the cell blank?

If so, try this:

=MEDIAN(IF($E$2:$E$62000<>"",$F$2:$F$62000)) Ctrl Shift Enter
 
Upvote 0

Forum statistics

Threads
1,223,238
Messages
6,170,939
Members
452,368
Latest member
jayp2104

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