Excel Magic Trick 1198: Median for Each Quarter Using AGGREGATE Function

preview_player
Показать описание

See how to calculate Median for Each Quarter Using AGGREGATE Function
1. (00:08) Problem Setup
2. (00:49) Defined Names for ranges using keyboard for Create Names From Selection: Ctrl + Shift + F3
3. (01:54) Apply Names in Formula
4. (02:14) Create Upper and Lower Dates Limits for each quarter
5. (02:23) EOMONTH function to get End of Each Quarter
6. (03:19) AGGREGATE function to calculate Median with two criteria: Lower Date and Upper Date fo5 each Quarter. Using Function 17: Quartile.INC and a Boolean AND Logical Test (AND Criteria) using Multiplication.
Рекомендации по теме
Комментарии
Автор

Excel Magic Trick 1198: Median for Each Quarter Using AGGREGATE Function 
See how to calculate Median for Each Quarter Using AGGREGATE Function
1. (00:08) Problem Setup
2. (00:49) Defined Names for ranges using keyboard for Create Names From Selection: Ctrl + Shift + F3
3. (01:54) Apply Names in Formula
4. (02:14) Create Upper and Lower Dates Limits for each quarter
5. (02:23) EOMONTH function to get End of Each Quarter
6. (03:19) AGGREGATE function to calculate Median with two criteria: Lower Date and Upper Date for each Quarter. Using Function 17: Quartile.INC and a Boolean AND Logical Test (AND Criteria) using Multiplication.

excelisfun
Автор

Thanks Mike. Another great example of what aggregate can do and brilliantly explained by you.

krn
Автор

Great! Besides AGGREGATE, I liked the use of names and the name box for navigation! :)

pmsocho
Автор

Fantastic AGGREGATE example !!!

Many, mamy thanks for your effort to propagate excel knowledge (with fun) :-))

BillSzysz
Автор

Thank you for the helpful video! What do I do if I have blank cells in my range? How do I get Excel to ignore the blank cells? Thank you in advance!

jessicak
Автор

What is the reason we have to divide Units by the other array?

pipo
Автор

Hey Mike.... I am a huge fan of yours 🙂

I have multiple tables with 2 columns named ENTERING and EXITING with multiple rows of start and end dates in it. What I want is to find out a common date range that falls in all tables.

Can you help Mike?

kuldeepsinghtanwar
Автор

Hello,

Could you please help me, I have many excel files with same data headers I have to merge all the excel files into the one master file or workbook.
Thanks in advance.

jackkaran
Автор

Hi Can you share the Media(If) version of the solution as well? much appreciated.

ambikesh
Автор

What did the Apply Define Names do? I didn't see anything change when you did that to the Min and Max dates.

Sal_A
Автор

Hey Mike,

By that array formula you meant something like this?

{=MEDIAN(IF(((--(D5<=Date))*(--(E5>=Date)))>0, Units))}

Getting the same results as you do! The formula looks pretty ugly though. D:

MrSarky