Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default Compute time differences

What formula will compute the number of hours and minutes between the Start Time and the End time in each row?

(Each cell is formatted as number, custom, type: h:mm AM/PM)

Start time End time
12:45 PM 3:14 PM
10:20 AM 12:10 PM
10:20 AM 12:30 PM
9:30 AM 11:30 AM
10:00 AM 12:24 PM
11:20 AM 1:40 PM
11:27 AM 1:42 PM
1:35 PM 3:51 PM
10:30 AM 12:38 PM
11:55 AM 2:05 PM
10:05 AM 12:00 PM
12:00 PM 2:10 PM
10:00 AM 12:50 PM
11:55 AM 1:40 PM
12:45 PM 2:58 PM
12:45 PM 3:13 PM
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 538
Default Compute time differences

GARYWC wrote:

What formula will compute the number of hours and minutes between the Start
Time and the End time in each row?

(Each cell is formatted as number, custom, type: h:mm AM/PM)


Just "=B2-A2" and format the destination cells as time without AM/PM.

--
Kneel! Bow!
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,182
Default Compute time differences

GARYWC wrote:

What formula will compute the number of hours and minutes between the Start
Time and the End time in each row?

(Each cell is formatted as number, custom, type: h:mm AM/PM)


Just "=B2-A2" and format the destination cells as time without AM/PM.


That only works so long as the time values aren't PM start to AM End.

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Compute time differences

In reply to "GARYWC" who wrote the following:

What formula will compute the number of hours and minutes between the Start
Time and the End time in each row?

(Each cell is formatted as number, custom, type: h:mm AM/PM)

Use formule(A2B2)+B2-A1)

Cel set hh:mm
Use no PM/AM but 24 hours

Regards



--
--------------------------------- --- -- -
Posted with NewsLeecher v7.0 Beta 10
Web @ http://www.newsleecher.com/?usenet
------------------- ----- ---- -- -

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Compute time differences


What formula will compute the number of hours and minutes between the Start
Time and the End time in each row?

(Each cell is formatted as number, custom, type: h:mm AM/PM)

Excuse for mistyping in the first respose.

Use formule(A2B2)+B2-A2

Cel set hh:mm
Use no PM/AM but 24 hours

Regards



--
--------------------------------- --- -- -
Posted with NewsLeecher v7.0 Beta 10
Web @ http://www.newsleecher.com/?usenet
------------------- ----- ---- -- -

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 Sheet - Calculating Time Differences for Totals Kathy Excel Discussion (Misc queries) 3 January 14th 10 10:04 PM
compute date and time difference Neri Excel Worksheet Functions 5 January 23rd 09 11:30 AM
Very long workbook computation time (F9 manual compute) Floss Excel Discussion (Misc queries) 1 February 14th 08 06:12 PM
what if problem to compute cost depending on time aj9409 Excel Discussion (Misc queries) 1 January 26th 06 02:53 PM
Macros to compute Sales figures Differences between Months slc[_2_] Excel Programming 4 October 9th 03 07:24 PM


All times are GMT +1. The time now is 08:34 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"