PC Review


Reply
Thread Tools Rate Thread

calculate percentages of 8 hour day

 
 
digitalmuse
Guest
Posts: n/a
 
      28th Oct 2008
I need to create a formula that will display a total amount as a percentage
of an 8 hour day

column b is a named range "starttime" and column c is a named range
"endtime" the difference or result is what i need to display in column J as a
percentage of an 8 hour day
 
Reply With Quote
 
 
 
 
Roger Govier
Guest
Posts: n/a
 
      28th Oct 2008
Hi
Excel stores times as fractions of a day (24 hours).

Therefore
=(Endtime-Starttime)*24/8
or
=(Endtime-Starttime)*3
Format the cell with the formula as Percent

If starttime and endtime are likely to cross the midnight barrier, then you
would nee to use
either
=MOD(Endtime-Startime,1)*3
or
=(Endtime-Starttime+(End time<=Starttime))*3

--
Regards
Roger Govier

"digitalmuse" <(E-Mail Removed)> wrote in message
news:10DFB087-589F-4AEC-963E-(E-Mail Removed)...
> I need to create a formula that will display a total amount as a
> percentage
> of an 8 hour day
>
> column b is a named range "starttime" and column c is a named range
> "endtime" the difference or result is what i need to display in column J
> as a
> percentage of an 8 hour day


 
Reply With Quote
 
digitalmuse
Guest
Posts: n/a
 
      28th Oct 2008
Thanks - works perfectly.

"Roger Govier" wrote:

> Hi
> Excel stores times as fractions of a day (24 hours).
>
> Therefore
> =(Endtime-Starttime)*24/8
> or
> =(Endtime-Starttime)*3
> Format the cell with the formula as Percent
>
> If starttime and endtime are likely to cross the midnight barrier, then you
> would nee to use
> either
> =MOD(Endtime-Startime,1)*3
> or
> =(Endtime-Starttime+(End time<=Starttime))*3
>
> --
> Regards
> Roger Govier
>
> "digitalmuse" <(E-Mail Removed)> wrote in message
> news:10DFB087-589F-4AEC-963E-(E-Mail Removed)...
> > I need to create a formula that will display a total amount as a
> > percentage
> > of an 8 hour day
> >
> > column b is a named range "starttime" and column c is a named range
> > "endtime" the difference or result is what i need to display in column J
> > as a
> > percentage of an 8 hour day

>
>

 
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
Trying to calculate percentages nars Microsoft Excel Worksheet Functions 3 17th Nov 2008 01:15 PM
calculate percentages =?Utf-8?B?Y2FybHRvbg==?= Microsoft Excel Worksheet Functions 1 17th Nov 2004 06:05 PM
How to calculate percentages automatically Portuga Microsoft Excel Misc 2 23rd Feb 2004 06:15 PM
Calculate Percentages Lindsay Cowell Microsoft Excel Discussion 3 30th Jan 2004 11:36 PM
Calculate Percentages Fiona Microsoft Access Queries 1 4th Nov 2003 03:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:39 PM.