HOw to find the median of data that has two different criteria

lewis54

New Member
Joined
Nov 9, 2016
Messages
1
Hello, I have 3 columns. I need to find the medium of "Act. Life" for every time that specific "Item" matches with that specific "job".

JobItemAct. Life
B15000/693C520230340,547
B15000/595C520230247,426
B15000/595C520230543,333
B15000/857C520230313,274
B15000/693C520230228,299
B15000/595C520230252,808
B15000/693C520230161,436
B15000/693C520230646,656
B15000/693C520230336,319
B15000/595C520230109375
B15000/595C520230138,889
B15000/693C520230218,333
B15000/693C520230134,014
B15000/693C520230175,000
B15000/595C520230223,333
B15000/693C520230437,000
B15000/693C520230437,000

<tbody>
</tbody><colgroup><col><col><col></colgroup>
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi

You can use an array formula, like:

=MEDIAN(IF(A2:A18=Job;IF(B2:B18=Item;C2:C18)))

Replace Job and Item by their values

This is an array formula, you have to confirm it with CTRL-SHIFT-ENTER and not just ENTER.
 
Upvote 0

Forum statistics

Threads
1,216,140
Messages
6,129,105
Members
449,486
Latest member
malcolmlyle

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