Cell reference depending on age date of birth

singe

New Member
Joined
Apr 18, 2006
Messages
20
If you are not aware, in the UK we have National Minimum Wage that varies on your age.
The ranges are 16-17, 18-20, 21-24, 25+
I have members of staff of varying age that can move through the various rates of pay.
I have a cell with the member of staff's date of birth. I have grid of cells with the 4 ages, start date of birth, end date of birth and finally Rate of pay.
I'm grateful for any help in a cell forumla for =TODAY() and then IF maybe nested if to find the rate of pay for that date of birth range. Or amybe Index(match mightbe better.
I'd prefer not to have VBA as I have no experience in that.
Hope you have all the info you need.
Thank you in advance
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
I'm not sure what exactly you have in your grid for pay rates ..... but I can see a couple of ways to do it based on what you say.

The simplest might be to use SUMIFS comparing the DOB on the employee line against the start and end dates on your grid.

Alternatively you could change your grid so you have a line for each age and then do a vlookup using the employees age to find the rate
 
Upvote 0
I'm not sure what exactly you have in your grid for pay rates ..... but I can see a couple of ways to do it based on what you say.

The simplest might be to use SUMIFS comparing the DOB on the employee line against the start and end dates on your grid.

Alternatively you could change your grid so you have a line for each age and then do a vlookup using the employees age to find the rate
Thanks, I will look into those options. I suspect the latter might be simpoler for me to do.
 
Upvote 0
Thanks, I will look into those options. I suspect the latter might be simpoler for me to do.

Just by way of an update, thanks to another sire I used HLOOKUP
=HLOOKUP(C2,$AD$2:$AG$4,3,TRUE
I had to re order my the dates so it was in chronological order in the grid, and used the earlier age in the the row before the latter but apart for that t worked well.
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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