Time difference - again!

G

Guest

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.
 
D

David Biddulph

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top