Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / November 2006

Tip: Looking for answers? Try searching our database.

Time difference - again!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ThomasAJ - 03 Nov 2006 06:10 GMT
Sorry I know it has been covered but nothing works for me.
Maybe it's my formating.

Cell A1=10am (format is '*1:30:55 PM' from the Format Cells dialogue box -
Time/Type)
Cell B1=5:30pm (format is '*1:30:55 PM' from the Format Cells dialogue box -
Time/Type)

No matter what I do eg '=B1-A1' or many other formulae I still get #VALUE
error.

I want to know in number format the number of hours elapsed.
Will NOT be greater than 24.
Signature

Regards
Tom

Murray - 03 Nov 2006 06:50 GMT
Tom

In general doing such things is independent of the formatting - what is
more important is the value you have in the cells in the first place.

Chip Pearson has some stuff on working with dates and times on his
website - perhaps you may find a solution there?

http://www.cpearson.com/excel/datetime.htm and
http://www.cpearson.com/excel/datearith.htm

Regards

Murray

> Sorry I know it has been covered but nothing works for me.
> Maybe it's my formating.
[quoted text clipped - 9 lines]
> I want to know in number format the number of hours elapsed.
> Will NOT be greater than 24.
David Biddulph - 05 Nov 2006 01:52 GMT
If you've entered them as 10am and 5:30pm they won't work.  Try 10 am and
5:30 pm (with spaces between the figures & the numbers).

If you want an answer as decimal hours, use =24*(B1-A1), and format as
number or general.
Signature

David Biddulph

> Sorry I know it has been covered but nothing works for me.
> Maybe it's my formating.
[quoted text clipped - 10 lines]
> I want to know in number format the number of hours elapsed.
> Will NOT be greater than 24.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.