PC Review


Reply
Thread Tools Rate Thread

convert decimal numbers to a fraction of an hour for payroll hour

 
 
=?Utf-8?B?Rmxvd2Vy?=
Guest
Posts: n/a
 
      9th Feb 2006
need to convert payroll hours to 1/4 of an hour.

e.g 123.56 convert to 123 hrs and 45 minutes
123.78 convert to 124 hours
decimals of 0-25 = 15 minutes
26 - 50 = 30 minutes
51 - 75 = 45 minutes
76 - 99 = 60 minutes

using office 2000
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      10th Feb 2006
Use

=CEILING(A1,0.25)

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Flower" <(E-Mail Removed)> wrote in message
news:53674E19-A348-4402-93F2-(E-Mail Removed)...
> need to convert payroll hours to 1/4 of an hour.
>
> e.g 123.56 convert to 123 hrs and 45 minutes
> 123.78 convert to 124 hours
> decimals of 0-25 = 15 minutes
> 26 - 50 = 30 minutes
> 51 - 75 = 45 minutes
> 76 - 99 = 60 minutes
>
> using office 2000



 
Reply With Quote
 
=?Utf-8?B?Rmxvd2Vy?=
Guest
Posts: n/a
 
      10th Feb 2006
This was pretty good to know for future. thanks
I am still unsure how to do my formula for this. Let me explain it again.
the way this company uses the payroll round of minutes is as follows
8.13 to 8.37 = between .13 and .37 is considered 15 minutes
between .38 to .62 (e.g. 8.52) is considered 30 minutes (8 1/2 hours)
..63 to .87 is considered 45 minutes and .88 to .12 is considered 1 hour

the hours are there but the numbers after the decimal points are rounded to
the equilant 15, 30, 45 or 1 hour.

so how do you set the formula for the change only at the decimal levels to
either of the four rounded minutes.

If you can help answer this, I would really appreciate.

Thanks


"Bob Phillips" wrote:

> Use
>
> =CEILING(A1,0.25)
>
> --
>
> HTH
>
> Bob Phillips
>
> (remove nothere from the email address if mailing direct)
>
> "Flower" <(E-Mail Removed)> wrote in message
> news:53674E19-A348-4402-93F2-(E-Mail Removed)...
> > need to convert payroll hours to 1/4 of an hour.
> >
> > e.g 123.56 convert to 123 hrs and 45 minutes
> > 123.78 convert to 124 hours
> > decimals of 0-25 = 15 minutes
> > 26 - 50 = 30 minutes
> > 51 - 75 = 45 minutes
> > 76 - 99 = 60 minutes
> >
> > using office 2000

>
>
>

 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      10th Feb 2006
How about, assuming that all the times are in A2:A20, then

=SUMPRODUCT(ROUND(A2:A20*4,0)/4)

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Flower" <(E-Mail Removed)> wrote in message
news40B6A77-63B3-4DBC-B6C2-(E-Mail Removed)...
> This was pretty good to know for future. thanks
> I am still unsure how to do my formula for this. Let me explain it

again.
> the way this company uses the payroll round of minutes is as follows
> 8.13 to 8.37 = between .13 and .37 is considered 15 minutes
> between .38 to .62 (e.g. 8.52) is considered 30 minutes (8 1/2 hours)
> .63 to .87 is considered 45 minutes and .88 to .12 is considered 1 hour
>
> the hours are there but the numbers after the decimal points are rounded

to
> the equilant 15, 30, 45 or 1 hour.
>
> so how do you set the formula for the change only at the decimal levels to
> either of the four rounded minutes.
>
> If you can help answer this, I would really appreciate.
>
> Thanks
>
>
> "Bob Phillips" wrote:
>
> > Use
> >
> > =CEILING(A1,0.25)
> >
> > --
> >
> > HTH
> >
> > Bob Phillips
> >
> > (remove nothere from the email address if mailing direct)
> >
> > "Flower" <(E-Mail Removed)> wrote in message
> > news:53674E19-A348-4402-93F2-(E-Mail Removed)...
> > > need to convert payroll hours to 1/4 of an hour.
> > >
> > > e.g 123.56 convert to 123 hrs and 45 minutes
> > > 123.78 convert to 124 hours
> > > decimals of 0-25 = 15 minutes
> > > 26 - 50 = 30 minutes
> > > 51 - 75 = 45 minutes
> > > 76 - 99 = 60 minutes
> > >
> > > using office 2000

> >
> >
> >



 
Reply With Quote
 
=?Utf-8?B?Rmxvd2Vy?=
Guest
Posts: n/a
 
      10th Feb 2006
hi,

It still did not work.

ok, this how the spreadsheet is being kept from the time card being punched

Date In Out hrs1 In out hrs 2 TTL Hrs
Worked rounds to
2/1/06 8.57 13.57 5.0 14.27 17.03 2.76 7.76
7.45
2/2/06 8.25 13.12 4.87 13.63 17.00 3.37 8.24
8.15
2/3/06 8.00 12.32 4.32 13.10 17.50 4.40 8.72
8.45

Total hours for 3 days 24.72

Rounding is bet. .13 -.37 = .15 minutes
.38 - .62 = .30 minutes
.63 - .87 = .45 minutes
.88 - .12 = 1.00 hour

Since hours change each week the formula should automatically calculate
based on the rounding which could sometimes be 1st category or 2nd category.
maybe and if statement should work, i am not sure


"Bob Phillips" wrote:

> How about, assuming that all the times are in A2:A20, then
>
> =SUMPRODUCT(ROUND(A2:A20*4,0)/4)
>
> --
>
> HTH
>
> Bob Phillips
>
> (remove nothere from the email address if mailing direct)
>
> "Flower" <(E-Mail Removed)> wrote in message
> news40B6A77-63B3-4DBC-B6C2-(E-Mail Removed)...
> > This was pretty good to know for future. thanks
> > I am still unsure how to do my formula for this. Let me explain it

> again.
> > the way this company uses the payroll round of minutes is as follows
> > 8.13 to 8.37 = between .13 and .37 is considered 15 minutes
> > between .38 to .62 (e.g. 8.52) is considered 30 minutes (8 1/2 hours)
> > .63 to .87 is considered 45 minutes and .88 to .12 is considered 1 hour
> >
> > the hours are there but the numbers after the decimal points are rounded

> to
> > the equilant 15, 30, 45 or 1 hour.
> >
> > so how do you set the formula for the change only at the decimal levels to
> > either of the four rounded minutes.
> >
> > If you can help answer this, I would really appreciate.
> >
> > Thanks
> >
> >
> > "Bob Phillips" wrote:
> >
> > > Use
> > >
> > > =CEILING(A1,0.25)
> > >
> > > --
> > >
> > > HTH
> > >
> > > Bob Phillips
> > >
> > > (remove nothere from the email address if mailing direct)
> > >
> > > "Flower" <(E-Mail Removed)> wrote in message
> > > news:53674E19-A348-4402-93F2-(E-Mail Removed)...
> > > > need to convert payroll hours to 1/4 of an hour.
> > > >
> > > > e.g 123.56 convert to 123 hrs and 45 minutes
> > > > 123.78 convert to 124 hours
> > > > decimals of 0-25 = 15 minutes
> > > > 26 - 50 = 30 minutes
> > > > 51 - 75 = 45 minutes
> > > > 76 - 99 = 60 minutes
> > > >
> > > > using office 2000
> > >
> > >
> > >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert time to fraction of an hour Patrick C. Simonds Microsoft Excel Worksheet Functions 1 31st Aug 2007 03:31 AM
Change Hour + Decimal to Hour + Min chopper57 via AccessMonster.com Microsoft Access Forms 1 25th Sep 2006 04:09 PM
Convert decimal hour into time format? =?Utf-8?B?cmFtZGFsZW4=?= Microsoft Excel Misc 2 20th Jun 2005 06:21 PM
Convert Date & hour to decimal Everett Joline Microsoft Excel Discussion 4 13th May 2005 07:09 PM
Time Difference shown as fraction of hour =?Utf-8?B?Q29saW4gRWFtZXM=?= Microsoft Excel Worksheet Functions 1 9th Dec 2003 08:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:34 PM.