Median problem

MasmaAbdulhamidli

New Member
Joined
Sep 11, 2022
Messages
22
Office Version
  1. 2016
Platform
  1. Windows
Hi. I have large database and i have to find median of only selected cells. I filtered and used Median formula but it is not give correct. Then i tried Aggregate (=AGGREGATE(12;1;etc) formula but now when i unfiltered all data changed. Can you help me?
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
It would help if you could post a small sample of your data.
Maybe try something like below.
This is an array formula and must be enter with CTRL-SHIFT-ENTER (not just ENTER).
Book1
ABCDE
1
2A30Median of:
3B38A36.5
4A39
5C29
6D18
7A23
8B63
9C19
10A36
11D54
12A55
13A37
Sheet2
Cell Formulas
RangeFormula
E3E3=MEDIAN(IF($A$2:$A$13=D3,$B$2:$B$13))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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