Share via

Calculate Age Generation Using Excel Function

Anonymous
2021-10-01T20:06:04+00:00

Hi,

Looking for a function in Excel that calculates birthdate cell and provides the relevant age generation type, like Generation Z, Baby Boomer, ...

Any ideas?

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2021-10-03T10:53:44+00:00

You can use the same logic I presented in the example, just changing the condition to IF(AND(YEAR()))

Here I leave an example of a condition checking the year in the formula

=IF(AND(YEAR(A2)>1965;YEAR(A2)<1981);"Gen X";"FALSE")

Was this answer helpful?

5 people found this answer helpful.
0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2021-10-01T20:51:02+00:00

    Age Calc:

    =INT((TODAY()-A2)/365,5)

    Class:

    =IF(AND(B2>=0;B2<10);"Alpha";IF(AND(B2>9;B2<26);"Z Generation";IF(AND(B2>25;B2<41);"Y Generation";IF(AND(B2>40;B2<60);"X Generation";"Baby Boomer"))))

    Download example:

    https://we.tl/t-aW1KWmnFtt

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2021-10-03T09:09:25+00:00

    Dear Mihokiller,

    Thank you really for the useful solution.

    Hence, isn't there any way to get the function compare if the birth year is within a specific range?

    For example, if the birth year is between 1965 to 1981 then it should be Gen. X

    What do you think?

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2021-10-01T20:43:50+00:00

    Hi

    My name is André. I am an independent consultant.

    Basically what you need is a formula that calculates age. And another one, using IF, that defines based on age. I'll create an example and leave it here for you to download.

    Answer here so I can continue helping you.

    André.

    Was this answer helpful?

    0 comments No comments