Lewis_Raft
New Member
- Joined
- Feb 20, 2014
- Messages
- 8
Hello MrExcel Patrons,
I have to create a sheet whereby i can enter the values for staff starting times, but they will be exact, for example.
8:23, this figure would need to be rounded to the nearest 15 minute, whether that be up or down.
Furthermore i need to calculate from these times the following information.
The amount of time spent during "Overtime" hours, i.e. time before 9 and time after 6, and then to multiply this information by the quarterly pay or hourly pay figure.
So in an ideal world, i would enter into A2 (Start Time) 5:23. B2 (Finish Time) 7.43. then have a formula in a set of cells that would automatically calculate. the rounding of those times to nearest 15 minute interval. to calculate how many of those hours fall outside standard pay times, and to multiply those by the overtime pay level, also to calculate how much of that time falls within standard pay levels and multiply that by the respective standard pay amount, to have those 2 figures combined.
Ive tried a few different rounding functions to no avail, im using Excel 2003.
Furthermore, on a separate note, in a different spreadsheet ive exceeded the 44million limit in calculations and wondered if anyone would know a quick and easy way to shorten this code:-
=SUM(IF(COUNTIF('[2014 Rota.xls]February'!$C$5,"Sales"),((([Robsight.xls]February!$B$5)/1.2)/100)*Standards!B8,0),(IF(COUNTIF('[2014 Rota.xls]February'!$C$5,"St Albans"),((([Robsight.xls]February!$D$5)/1.2)/100)*Standards!B20,0)),(IF(COUNTIF('[2014 Rota.xls]February'!$C$5,"TCR 2")+COUNTIF('[2014 Rota.xls]February'!$C$5,"TCR 1"),((([Robsight.xls]February!$F$5)/1.2)/100)*Standards!B12,0)),(IF(COUNTIF('[2014 Rota.xls]February'!$C$5,"Angel"),((([Robsight.xls]February!$H$5)/1.2)/100)*Standards!B16,0)),(IF(COUNTIF(Standards!B26,"X"),((([Robsight.xls]February!$J$4)/1.2)/100)*Standards!B24,0)))
Without losing any functionality.
I have been wracking my brains over the prior question for some time and i cant figure a way around it, im not sure if im using the correct cell format to achieve the desired goal but im hoping you magic men and women can help me.
Kind Regards,
Lewis
I have to create a sheet whereby i can enter the values for staff starting times, but they will be exact, for example.
8:23, this figure would need to be rounded to the nearest 15 minute, whether that be up or down.
Furthermore i need to calculate from these times the following information.
The amount of time spent during "Overtime" hours, i.e. time before 9 and time after 6, and then to multiply this information by the quarterly pay or hourly pay figure.
So in an ideal world, i would enter into A2 (Start Time) 5:23. B2 (Finish Time) 7.43. then have a formula in a set of cells that would automatically calculate. the rounding of those times to nearest 15 minute interval. to calculate how many of those hours fall outside standard pay times, and to multiply those by the overtime pay level, also to calculate how much of that time falls within standard pay levels and multiply that by the respective standard pay amount, to have those 2 figures combined.
Ive tried a few different rounding functions to no avail, im using Excel 2003.
Furthermore, on a separate note, in a different spreadsheet ive exceeded the 44million limit in calculations and wondered if anyone would know a quick and easy way to shorten this code:-
=SUM(IF(COUNTIF('[2014 Rota.xls]February'!$C$5,"Sales"),((([Robsight.xls]February!$B$5)/1.2)/100)*Standards!B8,0),(IF(COUNTIF('[2014 Rota.xls]February'!$C$5,"St Albans"),((([Robsight.xls]February!$D$5)/1.2)/100)*Standards!B20,0)),(IF(COUNTIF('[2014 Rota.xls]February'!$C$5,"TCR 2")+COUNTIF('[2014 Rota.xls]February'!$C$5,"TCR 1"),((([Robsight.xls]February!$F$5)/1.2)/100)*Standards!B12,0)),(IF(COUNTIF('[2014 Rota.xls]February'!$C$5,"Angel"),((([Robsight.xls]February!$H$5)/1.2)/100)*Standards!B16,0)),(IF(COUNTIF(Standards!B26,"X"),((([Robsight.xls]February!$J$4)/1.2)/100)*Standards!B24,0)))
Without losing any functionality.
I have been wracking my brains over the prior question for some time and i cant figure a way around it, im not sure if im using the correct cell format to achieve the desired goal but im hoping you magic men and women can help me.
Kind Regards,
Lewis