Mar 20 2020 08:29 AM
Hi I am trying to create a formula that tells me that I need to change the rate of pay for someone when they reach a new age category. I have a column and formula to create the exact age (17years, 3 months, 5 days), these cells update automatically. I have one column with the employees current wage rate and another column with the set minimum wage for that employees age range.
I would like the Minimum Wage Rate to change colour when it falls below the employees current rate of pay column.
Thank you
Mar 20 2020 08:33 AM
You may apply conditional formatting rule with the formula which compares values of Minimum Wage Rate with value in Current Rate
Mar 20 2020 08:37 AM
Hi, thank you for your reply, which formula?@Sergei Baklan
Mar 20 2020 08:52 AM - edited Mar 20 2020 08:54 AM
The formatting is helpful thank you but what about the initial formula?
I Require the following
If (CELL) is equal to or greater than 25 then £8.21
IF (CELL) is less than 25 or equal to or great than 21 then £7.70
IF (CELL) is less than 21 or equal to or greater than 18 then £6.15
IF (CELL) is less than 18 then £4.35
Do you see what I mean? Are you able to help me create that formula?
The (CELL) i refer too is an exact age formula as follows:
=DATEDIF(C4,TODAY(),"Y") & " Years, " & DATEDIF(C4,TODAY(),"YM") & " Months, " & DATEDIF(C4,TODAY(),"MD") & " Days"
Mar 20 2020 08:58 AM
For this formula could be
or
=LOOKUP(A1,{0,18,21,25},{4.35,6.15,7.7,8.21})
but it's better to keep constants in a range.
Sep 21 2023 04:13 AM
Hi this formula is very useful, is it possible to add another string into the formula based on length of service, as apprentices over the age of 19 but have completed their first year are entitled to the minimum wage based on their current age, apprentices under 19 and also apprentices with less than 1 years service are entitled to £5.28. Any idea how I can add to the formula to show that please
Sep 21 2023 06:15 AM
Could you please provide small sample file or at least screenshot of how your data is structured. How Excel knows age is under 19, etc. With desired result please.
Sep 25 2023 12:55 AM
@Sergei Baklan Hi Sergei thank you for the response I have attached a sample of my file :)
I will populate columns A to J each month
Sep 25 2023 01:38 AM
@Stella1000 , thank you for the file. Could you please clarify - you have conditions
- Apprentices over>19 and <1 years service
- Apprentices<19
What shall be taken if Apprentices=19?
What shall be taken if Apprentices over>19 and >= 1 years service (or you fire such)?
Sep 25 2023 01:43 AM
Sep 25 2023 02:35 AM
That could be
=IF(
AND(
$J2 = "Yes",
OR( $K2 < 19,
AND( $K2 >= 19, $N2 < 1)
)
), 5.28,
LOOKUP( $K2,{0,18,21,23},{5.28,7.49,10.18,10.42} )
)
Please check attached.
Sep 25 2023 02:36 AM
Sep 25 2023 02:49 AM
@Stella1000 , you are welcome. Please post if any questions.
Sep 25 2023 05:37 AM
Sep 25 2023 05:53 AM
@Stella1000 , great to know it works as expected, thank you for the feedback.