Sorting out age ranges with birth dates in cells.

mistyh6286

New Member
Joined
Jul 21, 2017
Messages
1
I have a spreadsheet that I need to pull out the people who are in between the ages of 50-75. All I have listed are birth dates in the rows, how do I achieve this?

TIA
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Excel 2010
ABC
1Effective date21-Jul-17
2NameDOB
321-Jul-67TRUE
415-Feb-70FALSE
55-May-55TRUE
6
5a
Cell Formulas
RangeFormula
B3=-365.25*50+B1
C3=DATEDIF(B3,$B$1,"y")>=50
C4=DATEDIF(B4,$B$1,"y")>=50
C5=DATEDIF(B5,$B$1,"y")>=50


You could then filter the list.
 
Last edited:
Upvote 0
I didn't post the formula that tested both lower and upper date; see below.

=AND(DATEDIF(B3,$B$1,"y")>=50,DATEDIF(B3,$B$1,"y")<=75)
 
Upvote 0

Forum statistics

Threads
1,223,948
Messages
6,175,575
Members
452,652
Latest member
eduedu

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