excel - VBA Counting difference between the first time value and the second time value, and move to next cell -
my assignment find time gap between 2 time, find out big gaps, can see below. in beginning,every time gap of column 1 second until 11:40. want find every time gap , mark them in column b, find big gap on 1 second. thanks.
date 4/27/2017 11:28:33 4/27/2017 11:28:34 4/27/2017 11:28:35 4/27/2017 11:28:36 4/27/2017 11:28:37 4/27/2017 11:28:38 4/27/2017 11:28:39 4/27/2017 11:28:40 4/27/2017 11:40:15 4/27/2017 11:40:16 4/27/2017 11:40:17 4/27/2017 11:40:18 4/27/2017 11:40:19 4/27/2017 11:40:20 4/27/2017 11:40:21
assuming dates start in cell a1, in cell b2 enter formula =(a2-a1)*86400 , drag bottom. show difference between 2 times in seconds (you can round 1 decimal).
Comments
Post a Comment