Godders199
Active Member
- Joined
- Mar 2, 2017
- Messages
- 313
- Office Version
- 2013
Hi, i have been playing with various codes to get the Quarter of the date in column K, displayed in column P, here is my latest attempt, could someone tell me what i am doing wrong, have googled but not found any examples of what i am looking for.
Sheets ("adviser data")
Dim lastrowcolumnA As Long
lastrowcolumnA = Range("a" & Rows.Count).End(xlUp).row
For i = 2 To lastrowcolumnA
cells(i,16).value= Range ("K"& i).Value = "Q"(month(cell.Value)+2)/3)
Sheets ("adviser data")
Dim lastrowcolumnA As Long
lastrowcolumnA = Range("a" & Rows.Count).End(xlUp).row
For i = 2 To lastrowcolumnA
cells(i,16).value= Range ("K"& i).Value = "Q"(month(cell.Value)+2)/3)