OK – I give up! I want to work out the duration of an incident (i.e the number of hours and minutes from start to end – can be more than 24 hours) – I have a table with four columns (amongst others) – 2 show the start and end date and the other 2 show the start and end time. I have used =CONCATENATE(a1,a2) (for example) to combine the start date and start time together and the same for end date and end time. (This gives me the long decimal number). I figured I can them simply subtract the start date/time from the end date/time to get an answer.
For the most part this works, but (of course!) there are several ridiculous answers (4000 hours!!!) I have played with the formatting (tried the [h] thing) but nothing will get rid of these odd answers.
For info, I have copied and pasted the value (using the paste special) on some of these answers and found that the wrong answers are holding a date, whereas the correct answers simply hold a time. Also, if I show the duration in the text format (to show the decimal value), the wrongs answers are all over 1, and the correct answers under 1. If i knew what this meant I would be able to work it out I am sure….can anyone out there sus it out??
Thanks for any help as always.
-
Date / Time calculation (2000)
- This topic has 8 replies, 6 voices, and was last updated 21 years, 8 months ago.
AuthorViewing 1 reply threadAuthorViewing 1 reply thread