I have code add col&format but how i can Sum yellow line = SUM(white line same code at colA) and paste Sum same Code (Sheet2)
to Sheet2
Thank
Thank
Sub Reclass()
Dim LastRow As Long
Sheets("DETAIL (CHI TIET)").Select
If ActiveSheet.AutoFilterMode Then
ActiveSheet.AutoFilterMode = False
End If
Application.ScreenUpdating = False
LastRow = Cells(Rows.Count, 1).End(xlUp).Row
Columns("P:P").Insert
Range("P9") = "Lai Chiem Dung_Overdue Interest"
Range(Cells(10, 16), Cells(LastRow, 16)).FormulaR1C1 = "=IF(LEFT(RC[-14],2)=""C0"",(Sheet1!R2C6/365)*RC[-3]*RC[-2],(Sheet1!R3C6/365)*RC[-3]*RC[-2])"
Range("J:J").Copy
Range("P:P").PasteSpecial xlFormats
Application.ScreenUpdating = True
End Sub