Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default calculate percentages of 8 hour day

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,480
Default calculate percentages of 8 hour day

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" wrote in message
...
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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default calculate percentages of 8 hour day

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" wrote in message
...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculate Items Per Hour Karthik Excel Discussion (Misc queries) 2 May 15th 09 04:40 AM
Calculate Pounds Per Hour JK Excel Discussion (Misc queries) 4 March 25th 09 07:05 PM
Trying to calculate percentages nars Excel Worksheet Functions 3 November 17th 08 01:15 PM
Calculate rate per hour Arjay Excel Discussion (Misc queries) 2 March 6th 06 05:14 AM
calculate percentages carlton Excel Worksheet Functions 1 November 17th 04 06:05 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"