LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,089
Default HELP .. Need Time Formula

Cathy

$A1:$C6 column C for reference only

102 1.5 1:30:00 =1.5/24 formatted as hh:mm:ss
105 2 2:00:00
108 1 1:00:00
110 1.25 1:15:00
109 1.05 1:03:00
111 1:05 0:02:42 give or take ;-)

In cell D52: 109
In cell F52: 01:00:00 (one hour)
In cell F53: =F52+VLOOKUP(D53,$A$1:$B$7,2,FALSE)/24
formatted as hh:mm:ss
= 02:03:00
Note that 01:00:00 multiplied by 24 = 24:00:00 formatted as [hh]:mm:ss, that
is, 1 day. If formatted as general, it would display as 1 (number one)

Also note that 1:05 is different to 1.05. The first would be interpreted by
Excel as 1 hour and 5 minutes; the second simply as 1.05. So, if you
started with 1:05 rather than 1.05 you'd get a different result to what you
expect ... possibly the result you *are* getting.

I think, if you have 1:05 against the 109 entry, you're actually adding 2
minutes and 42 seconds to the original value ... maybe that's getting
rounded up ?

Hope this helps pinpoint the problem

Regards

Trevor


"Cathy" wrote in message
...
Trevor,

I am having a hard time coming up with exactly the number to put in A1:B7
so
the time that calculates in F53 in some cases, is 1:05 hours later then
the
time in F52. Do you know number I can put in. Here is an example of what
I
have in A1:B7 now -
1 102 1.50 (adds 1-1/2 hours to time)
2 105 2.0 (adds 2 hours to time)
3 108 1.0 (adds 1 hour to time)
4 110 1.25 (adds 1:15 hours to time)
5 109 1.05 ........... this the number I need help
with. It just add 3 minutes to the time. I have tried using various
numbers
and it is not consistant.



"Trevor Shuttleworth" wrote:

Cathy

Cell F53: =F52+VLOOKUP(D53,$A$1:$B$3,2,FALSE)/24

Regards

Trevor


"Cathy" wrote in message
...
I have named an area called employees. This is what the area looks like

A B
1 102 1.5 Hrs
2 105 2 hrs
3 108 1 hrs

In a different part of my excel sheet I am trying to find a formula
will
look in d5 and if A1 from above appears it will add that time, plus the
time
in the row above. Example

D E F
52 8:30 am
53 105 10:30 am
54 108 11:30 am
55 102 1:00 pm

So in other words, I entered a start time of 8:30 am. In F53, the
formula
look at D53 and since 105 is 2 hours in the named area, the formula
added
2
hours to the time from the cell above.

I hope this make sense. And I really could use this help ASAP.






 
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
Formula to find Stop Time from Start Time and Total Minutes Jonathan Bickett Excel Worksheet Functions 5 March 7th 07 05:22 PM
template or formula for start time -finish time -total hours ple cc New Users to Excel 1 March 27th 06 06:06 PM
Help with time formula so the time will not change. Joker Excel Discussion (Misc queries) 1 February 17th 06 09:04 AM
How do I set up a formula on a time sheet to calculate time in 1/. gschmid Excel Discussion (Misc queries) 2 January 18th 05 01:48 PM
Time / Formula to look at time difference carl Excel Worksheet Functions 5 November 8th 04 06:59 PM


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

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

About Us

"It's about Microsoft Excel"