Help with conversion of time formula.

Jacko1307

Board Regular
Joined
Sep 4, 2012
Messages
92
Office Version
  1. 2016
Platform
  1. Windows
Good morning
Help please in my working out.
The clocking in and out interface we have date time stamps when a worker has clocked into the site.

I pull a CSV of the complete workforce weekly and the conundrum I have is that the timestation will produce the CSV with a decimal for the MM i.e 28.63hrs. Pay is worked out on a 15 minute time period so if someone works 10.89 I need for it to round up to 11 hrs and if someone works 10.01 I need it to round down to 10.

I have worked out a simple sheet to which I apply the criteria at the end of each week to be fair to employees.

I have looked at the decimals for the minutes in an hour and have selected the following decimal criteria.


Decimal .00 to .13 round down to nearest hour

Decimal .14 to .38 round to 1/4 hr (.25)

Decimal .39 to .63 round to 1/2 hr (.50)

Decimal .64 to .88 round to 3/4hr (.75)

Decimal .89 to .99 round to next hour upwards.

Hope the above makes sense :) .

Thank you in anticipation
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Forum statistics

Threads
1,214,991
Messages
6,122,628
Members
449,095
Latest member
bsb1122

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