Change in Pay.

Helix242

Board Regular
Joined
Jun 28, 2016
Messages
78
Hi,

Hoping someone can help me. I have a tracker with a list of dates through the year in Column A and in the next 5 Columns the hours are entered for the hours each member of staff works and these are calculated with the hourly rate in the final Column (see below based on one person)

20/09/2017 7 £8.20 £57.40
21/09/2017 7.5 £19.20 £144
22/09/2017 15 £15.00 £225

However I want to be able to input the hourly rate in on cell for each person, and have the ability to amend this one cell to a new hourly rate if required, but for all the previous dates remain with whatever rate was input.

Is this possible??

Thanks in advance!

Mark
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hi,

This will be one of those cases when you can use VLOOKUP with the last parameter being TRUE...

I don't know if you have all staff members in one single table or the have the separate sheets... so I used an example where the staff name can be different and each is checked against separate rate table.

The trick is to have a table separately with the dates of rate changes, it is very important that here the dates have to be order from oldest to newest !

In Excel's menu, you can add a fancy looking data Table on top of this, just click anywhere in this little table and go "Insert -> Table". When this is done, click in the Table, you'll have a new menu on the Ribbon called "Table Tools", look for Table name and give it the same name as one of your staff members. In my example it will be "johnny"

from daterate
01/01/20178.2
25/09/20178.5
28/09/20179.1

<colgroup><col><col></colgroup><tbody>
</tbody>










If this is done, you can use a simple VLOOKUP, it will always take the value from your hourly rate table which is the last one before a new change is reached (notice below that rates change on 25th and 28th as configured in the rate table)
ABCDE
daystaffhoursratetotal
22/09/2017johnny7.5=VLOOKUP(A3,INDIRECT(B3),2,TRUE)
23/09/2017johnny7.58.2
24/09/2017johnny7.58.2
25/09/2017johnny7.58.5
26/09/2017johnny7.58.5
27/09/2017johnny7.58.5
28/09/2017johnny7.59.1
29/09/2017johnny7.59.1
30/09/2017johnny7.59.1

<colgroup><col><col span="2"><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
Hi,

Thanks for coming back to me and for the detailed response, however I have a few issues. One is that the tracker has already been built, and I would struggle to add a table without causing issues elsewhere. The other issue is I have and require only one input for the hourly rate. I see the rate on your example listed on each day, but I would require the hourly rate to be input from one cell and for this to be transposed on to the tracker which is laid out similar to your example.

If you can help any further, and if this makes ANY sense, please let me know.

Many thanks




Hi,

This will be one of those cases when you can use VLOOKUP with the last parameter being TRUE...

I don't know if you have all staff members in one single table or the have the separate sheets... so I used an example where the staff name can be different and each is checked against separate rate table.

The trick is to have a table separately with the dates of rate changes, it is very important that here the dates have to be order from oldest to newest !

In Excel's menu, you can add a fancy looking data Table on top of this, just click anywhere in this little table and go "Insert -> Table". When this is done, click in the Table, you'll have a new menu on the Ribbon called "Table Tools", look for Table name and give it the same name as one of your staff members. In my example it will be "johnny"

from daterate
01/01/20178.2
25/09/20178.5
28/09/20179.1

<tbody>
</tbody>










If this is done, you can use a simple VLOOKUP, it will always take the value from your hourly rate table which is the last one before a new change is reached (notice below that rates change on 25th and 28th as configured in the rate table)
ABCDE
daystaffhoursratetotal
22/09/2017johnny7.5=VLOOKUP(A3,INDIRECT(B3),2,TRUE)
23/09/2017johnny7.58.2
24/09/2017johnny7.58.2
25/09/2017johnny7.58.5
26/09/2017johnny7.58.5
27/09/2017johnny7.58.5
28/09/2017johnny7.59.1
29/09/2017johnny7.59.1
30/09/2017johnny7.59.1

<tbody>
</tbody>
 
Upvote 0
Hi,

The column can be omitted without issues, you just to multiply the worked hours with this formula in the total column.

The problem is having only one source for the hourly rate. Do staff members have different rates, or it is same for all? And most importantly, if you don't track past rates how would Excel calculate older days? (you'd have to manually convert older days from formula to actual values to avoid retroactive changing)

This lookup table can be anywhere in the tracker, even on a hidden sheet, but if you absolutely don't want a formula based rate check, then you'll need VBA script to write the actual number values when you press a button and not have formula based calculations.
 
Upvote 0
Hi,

I'm not adverse to using a formula, I'm just having issues trying to do this with only 1 input per person. This was requested at a later date which didn't help.

So yes there are separate rates for all staff, and yes there is only 1 input per person, so somehow there would ned to be a historic capture of these as I have been told the rate may change during the week/month.

I'm trying to upload an image but it appears to be more tricky that my main issue!!! lol

Thanks<attachment></attachment>
 
Upvote 0
Hi,

Yes if you can upload a photo somewhere that can help, especially the part of the workbook where you add the rate inputs per staff. There may be a trick to make it seem it's just one input, but have a table hidden somewhere, if that's acceptable... if not I believe you'll need someone to write a VBA script for you.
 
Upvote 0
Hi,

So all the information on the tracker is taken from the wages input screen, apart from the hourly rate which is input on the main tracker screen. There is also a date range so the user can see what wages and bonus has been paid weekly, or any date range rather than just per month. This would have the added issue of trying to ensure the current and previous hourly rates are correct.

Hope you can help.

Thanks


https://unsee.cc/sitoguba/
 
Last edited:
Upvote 0

Forum statistics

Threads
1,221,526
Messages
6,160,340
Members
451,637
Latest member
hvp2262

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