Applying a value to different employee

Rhodestransit

New Member
Joined
Feb 8, 2011
Messages
41
Im not sure if this will make sense
I have drivers that driver their normal bus runs, each run has an agreed amount of time the run takes to complete, each driver is on a different pay rate depending on years of service, sometimes a driver may work another run.
I want to know if I can have the sheet check for each drivers name and where it appears on the sheet, then apply the relevant numbers of hours to that driver.
Example c3 has a value of 3 hours so what ever name is in that cell they would be paid 3 hours.
we have around 600 cells each with a different value, and 200 employees that could be in any of those cells.
I am really stuck on this one.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
so does c2 have the driver name, and c3 has the hours and you want the sheet to sum up all the hours of each driver?
 
Upvote 0
Sorry i should have been more clear,
Each cell has a drop down list of all drivers to select who you want on that bus run for the day.
C2 has the drop down there are no cells with a value yet, I was planning on having a separate sheet to total all this up for each driver.
The main sheet is intended as a dispatchers screen to only see who is driving which bus.
 
Upvote 0
Yes you could have the same driver on all 3 am school runs, High school, Elementary, Kindergarten.
But there may be a time where a driver only does one and someone else does the other 2 and they are on a different pay rate.
 
Upvote 0
Ok
so if your drivers names are in column c, and the hours they drive are in column d on sheet1, then on sheet2 do this.

in column a put their names
then in cell b1 use the formula
=SUMIF(Sheet1!C:C,Sheet2!A1,Sheet1!D:D)

and just drag it down, it will sum up all the hours of the drivers. make sure the drives names are entered exactly the same as on sheet1
 
Upvote 0
We sometimes have a matron on the bus, can I link them to the same hours cell
Ie matron name in column e and use the same hours in column d ?
 
Upvote 0
if you want to add matrons like that. Just have their names also somewhere on sheet 2 the same as you did the drivers. if you put the matrons names in column e on sheet1 then instead of your formula being

=SUMIF(Sheet1!C:C,Sheet2!A1,Sheet1!D:D)

it will be

=SUMIF(Sheet1!e:e,Sheet2!A1,Sheet1!D:D)

the sheet2!A1 needs to change to the cell where you have your matons names.

if you list the matrons in the same column as the drivers on sheet 2 then all you need to change in the formula is the sheet1!C:C to sheet!e:e for their names
 
Upvote 0

Forum statistics

Threads
1,224,618
Messages
6,179,919
Members
452,949
Latest member
beartooth91

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