We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Sub ConvertData() With Sheet1 For I = 2 To .UsedRange.Rows.Count If .Cells(I, 3) = "" Then Exit For End If .Cells(I, 1) = .Cells(I, 3) + 8 / 24 If Hour(.Cells(I, 1)) < Hour(.Cells(I, 3)) Then .Cells(I, 2) = .Cells(I, 2) + 1 End If Next I End With End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.