Labeling Generations

zinah

Active Member
Joined
Nov 28, 2018
Messages
353
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have list of employees and their date of birth, I need tolabel each employee with the right generation name according to the list below:

Generation
1984-2002 – Millennial

1946-1964 – Baby Boomers

1965-1983 – Gen X
1946-1964 - Baby Boomers
1927-1945 – Traditionalists
Not Available
<tbody> </tbody>


EE Name Date of Birth
A 1/1/1960
B 1/1/1989
C 1/1/1970
D 1/1/1995

Can you help me with sharing the right formula?

Thank you!
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
I'd probably just use a nested if statement in this case. Where years are in column B:

Code:
=IF(YEAR(B2)>=1984,"Millennial",
IF(YEAR(B2)>=1965,"Gen X",
IF(YEAR(B2)>=1946,"Baby Boomers",
IF(YEAR(B2)>=1927,"Traditionalists","-"))))
 
Upvote 0

Forum statistics

Threads
1,214,559
Messages
6,120,203
Members
448,951
Latest member
jennlynn

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