Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Ben
 
Posts: n/a
Default periods of time

Hi

Can somebody help me with this please,i need a formular that can calculate
the difference between the two times and show the answer as a plus or minus
or green/red.For example in the below, the answer would be +1:30 as the
actual time is an 1hr 30min before the expected.

Expected arrival time 8:00 Actual arrival time 6:30 answer

Thanks
Ben
  #2   Report Post  
Posted to microsoft.public.excel.newusers
JudithJubilee
 
Posts: n/a
Default periods of time


Hello again Ben,

You need the following formula in column D:

=(B1-A1)*24

You will need to format the result cells to be General formats not
dates. To do the highlight all the expected results cells for column D
and hold Ctrl + Shift and press #. This will set the cells to General
formatting.

If you also want different colours you will also need Conditional
Formatting:

Highlight the results cells in column D and choose Format + Conditional
Formatting.

Change the Between text to Greater than 0 and click the Format button -
choose grenn.
Click the Add button. Change the Between text to Less than 0 and choose
the second Format button - choose Green.

Post again with any problems

Judith


--
JudithJubilee
------------------------------------------------------------------------
JudithJubilee's Profile: http://www.excelforum.com/member.php...fo&userid=6882
View this thread: http://www.excelforum.com/showthread...hreadid=519160

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
Time sheets Driver Excel Worksheet Functions 5 November 7th 05 11:19 AM
Formula for a time card skateblade Excel Worksheet Functions 6 November 2nd 05 09:28 PM
time sheet to calculate 2 different columns John Sullivan Excel Worksheet Functions 1 October 21st 05 06:48 AM
Adding time damezumari Excel Discussion (Misc queries) 2 June 20th 05 08:35 PM
Time Sheet Calculation Help Needed! sax30 Excel Worksheet Functions 2 April 26th 05 08:08 PM


All times are GMT +1. The time now is 10:57 AM.

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"