Return list of birthdays in March

FryGirl

Well-known Member
Joined
Nov 11, 2008
Messages
1,245
Office Version
  1. 2016
Platform
  1. Windows
I am missing something here and not sure why or what. I'm trying to return the birthdays in March from earliest to latest.

Cust NameCust SurnameBirthdateRank
AhmedMathews01-Jan1
Lieselottevan Hees07-Jul22
Clemenciavan Bhiemond10-May16
AlissaLeenards30-Apr14
MargoNuys04-Jun19
KaceyWalters19-Apr13
Sonvan Ijzendoorn15-Nov27
JerricaBrenk02-Jun18
JadaBaerents05-Oct26
BlakeCalderon27-Sep25
BrettKomen08-Jun20
ErnestoGuthrie26-Mar12
CollinCarpenter20-Jul23
WiltonHamilton16-Mar11
Johnvan Ede11-Jan3
YoungKok09-Jan2
CoreneSantana10-Feb7
KelvinFuller17-Jan4
FrancineMuir25-Dec30
JuanAllen12-Jun21
WinnieOrtiz05-Dec29
SharylFritz20-Jan6
ClementDean07-May15
FrankieDiaz26-Feb8
AugustinaSimpson04-Dec28
NoelleReyes31-May17
KeithClaes01-Mar9
Rudyvan Ojen05-Mar10
GrantBuddingh18-Jan5
MarvellaDenhartog08-Aug24


Formula used
=IFERROR(INDEX($D$2:$D$31,AGGREGATE(15,6,(ROW($D$2:$D$31)-ROW($D$2)+1)/(MONTH($C$2:$C$31)=$F$1),ROWS($H$1:H1))),"")

And in F1 is the number 3. In the list below, 9 should be the first with 12 last

Book1
H
1March
212
311
49
510
Sheet1
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
56,816
Office Version
  1. 365
Platform
  1. Windows
How about
=IFERROR(AGGREGATE(15,6,$D$2:$D$31/(MONTH($C$2:$C$31)=$F$1),ROWS($H$1:H1)),"")
 
Solution

FryGirl

Well-known Member
Joined
Nov 11, 2008
Messages
1,245
Office Version
  1. 2016
Platform
  1. Windows
Ok, thank you. I see the extra step I was trying to force into the formula.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
56,816
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 

Watch MrExcel Video

Forum statistics

Threads
1,130,083
Messages
5,639,980
Members
417,121
Latest member
DallyDally

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
Top