#1   Report Post  
Posted to microsoft.public.excel.misc
Gabe
 
Posts: n/a
Default Time Difference

I am trying to subtract (=B1-A1) 12:00AM or PM (B1) minus 1:00PM (A1) but
some error comes with a bunch of ####? If my shift started at 1:00PM in the
afternoon, and didn't end until 12:00AM in the mourning. How do I find the
difference?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default Time Difference

Hi!

Try this:

=B1-A1+(B1<A1)

Biff

"Gabe" wrote in message
...
I am trying to subtract (=B1-A1) 12:00AM or PM (B1) minus 1:00PM (A1) but
some error comes with a bunch of ####? If my shift started at 1:00PM in
the
afternoon, and didn't end until 12:00AM in the mourning. How do I find the
difference?



  #3   Report Post  
Posted to microsoft.public.excel.misc
Gabe
 
Posts: n/a
Default Time Difference

Wow that was easy, thanks!

"Biff" wrote:

Hi!

Try this:

=B1-A1+(B1<A1)

Biff

"Gabe" wrote in message
...
I am trying to subtract (=B1-A1) 12:00AM or PM (B1) minus 1:00PM (A1) but
some error comes with a bunch of ####? If my shift started at 1:00PM in
the
afternoon, and didn't end until 12:00AM in the mourning. How do I find the
difference?




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
Calculating time difference over midnight! sygazelle Excel Discussion (Misc queries) 4 September 29th 05 04:59 PM
How can I use a time difference in a subsequent formula in Excel? numberman37 Excel Worksheet Functions 10 July 26th 05 07:42 PM
Time Difference Jennifer Excel Worksheet Functions 2 December 22nd 04 04:00 PM
What is the formula for getting time difference e.g. ("4 hrs 15 m. Sandeep Manjrekar Charts and Charting in Excel 3 December 4th 04 05:18 AM
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 03:04 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"