Median problem

MasmaAbdulhamidli

New Member
Joined
Sep 11, 2022
Messages
14
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 came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
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,215,069
Messages
6,122,952
Members
449,095
Latest member
nmaske

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