I am having Excel with Date time stamp at random row in B Column,
Ex: Where in between cell are Empty ( B2
, B3
..etc).
B1 : 15:13:48:335 2014/08/06
B27: 15:13:55:955 2014/08/06
B31: 15:14:16:005 2014/08/06 ...
I need to find the time difference between 2 consecutive entries Ex: B21-B1
and B31-B27
and so on.
If the values you've shown are actual datetimes, then they are numbers that seem to grow progressively larger as the rows increase.
To get the difference from B1 to B27,
Format the result as time in any way you prefer.
For the difference from B27 to B31,
When datetimes are actual datetimes and not text, the LARGE function can be used just like any other number.
If your values in column B are text, start by reverting them to proper datetimes. Use something like the following,
Correct your data first; then worry about manipulating the numbers.
If the cells propreties are correct, Excel should be able do compute a difference between them without any problem.
Both of the cells containing the dates must be set with Date/Hour format, the cell containing the result of the difference can be (for instance) set to Standard. Then the difference will be a number (integer or float). For instance :
Hope it helped