Ah, I see it now in column C. This should take care of it, run this macro to update your column C values:
Option Explicit
Sub AddDaysBO()
Dim lastrow As Long, firstrow As Long, i As Integer
Application.ScreenUpdating = False
lastrow = Range("A" & Rows.Count).End(xlUp).Row - 1 'takes Grand Total off end
firstrow = 2
For i = 2 To lastrow
If Range("A" & i).Value Like "*Total" Then
Range("C" & i).FormulaR1C1 = "=R" & i - 1 & "C18-R" & firstrow & "C18"
Range("C" & i).NumberFormat = "General"
firstrow = i + 1
End If
Next i
Application.ScreenUpdating = True
End Sub
Bookmarks