Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Time difference - again!
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 |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Time difference - again!
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 ThomasAJ wrote: 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 |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Time difference calculation | Excel Worksheet Functions | |||
Average Time Difference | Excel Worksheet Functions | |||
Calculating time difference over midnight! | Excel Discussion (Misc queries) | |||
What is the formula for getting time difference e.g. ("4 hrs 15 m. | Charts and Charting in Excel | |||
Time / Formula to look at time difference | Excel Worksheet Functions |