Pay based on age calculator

Yeezy316

New Member
Joined
Jul 20, 2018
Messages
2
[FONT=&quot]I’m trying to put a excel sheet together for a local business We are trying to find out a method to use an excel function to calculate pay based on age using age ranges , Ie if pay age range is 18 - 21 pay would be $5.00 or if age is 21 - 24 pay would be $10. Thank you[/FONT]
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
You could use something like this where A1 is the Age

=LOOKUP(A1,{0,18,21,24},{0,5,10,15})
 
Upvote 0
Assuming the age is in cell A2, I would use something like this:
=IF(A2>=65,$20,IF(A2>=50,$18,IF(A2>=35,$15,IF(A2>=25,$12,IF(A2>=21,$10,IF(A2>=18,$5,"too young"))))))

[Please note, the dollar signs are only there to make this easier to read and translate; they will have to be removed for the formula to work.]
 
Upvote 0
Okay thanks guys, it would still work even if I wanted to make various age ranges ie, 21-24 25 - 28?
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

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