I am trying to work out a way to show the increasing number of days between two dates that stops’ increasing once another cell is “Closed Out”
Column “D” shows the date in which the job is raised, with column “AM” showing the completion date once the “Closed Out” drop down within Column “AK” by using the below Macro (this was my very first ever Macro used, so not experienced in Macro at all)
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 37 Then
Target(1, 2) = Time
Target(1, 3) = Date
Columns("B:C").AutoFit
End If
End Sub
Using the above, this provides me with a way to count the days between start and completion date only, but I am after a way to count the days once the start date is manually entered within Column “D” to increase day-on-day and to stop increasing once Column “AK” is “CLOSED OUT”.
This number needs to be displayed within Column “C”
I don't know of a way this can be done using a formula, so Macro may be needed.
Any help gratefully appreciated.
Bookmarks