Explanation

In this example, the goal is to group ages into buckets.

Then use a lookup function to find the right bucket or group for each age.

Also note that we are using anamed rangefor convenience only, since named ranges do not change when copied.

Excel formula: VLOOKUP calculate grades

We don’t want this reference to change as the formula is copied down.

Because VLOOKUP is set to perform an approximate match, it has a particular behavior.

The groups in the second column can be any values you wish.

Excel formula: Get employee information with VLOOKUP

For more details on VLOOKUP, seeHow to use the VLOOKUP function.

Excel formula: Map inputs to arbitrary values

Excel formula: VLOOKUP two-way lookup

Excel formula: Merge tables with VLOOKUP

Excel formula: VLOOKUP without #N/A error

Excel VLOOKUP function

Article image

Article image

Article image

Article image