Any ideas how to determine what age group an individual belongs in Excel?

前端 未结 4 398
陌清茗
陌清茗 2021-01-28 01:40

I have 2 columns in an Excel spread sheet.

First column header is called AGE and the second column header is called Age_Group.

The ages in the AGE column are bet

4条回答
  •  悲&欢浪女
    2021-01-28 02:09

    As the idea of a Table was causing some confusion I thought I would also share my favourite trick of a self contained, table free, VLOOKUP using an embedded array. So for the current problem it would look something like this:

    VLOOKUP(A1, {18,"18-24";25,"25-29";30,"30-35";36,"36-37"}, 2 TRUE)
    

提交回复
热议问题