View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
David Biddulph David Biddulph is offline
external usenet poster
 
Posts: 618
Default Time difference - again!

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.
--
David Biddulph

"ThomasAJ" wrote in message
...
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.
--
Regards
Tom