Welcome to the forum - take a minute to read the FAQs in the link in my sig
1. I added CODE tags to your #1 to format. You can use the [#] icon to insert the opening and closing tags and then paste your macro between
2. I guessed at your data. Usually attaching a sample workbook helps
3. Also made some recommendations in the comments.
Personal Opinion: self documenting variable names are usually better. So 'iNumWins' instead of 'j', 'iNumLoses' instead of k.
This isn't FORTRAN
Option Explicit ' recommended (by me anyways)
Sub Record_Tracking()
Dim i As Long ' Long better that Integer
Dim j As Long
Dim k As Long
j = 0 ' VBA makes 0 at start, but I do this also
k = 0
With ActiveSheet ' assume the data is on the active sheet
For i = 2 To 18
If .Cells(i, 2).Value > .Cells(i, 3).Value Then
j = j + 1
ElseIf .Cells(i, 2).Value < .Cells(i, 3).Value Then
k = k + 1
End If
Next i
.Cells(19, 2).Value = "Record:" ' Range is OK, but I used .Cells to be consistent
'something like '12-3' will be formatted a Date possibly
'the leading single quote forces it to be a string
.Cells(19, 3).Value = "'" & CStr(j) & " - " & CStr(k)
'or
.Cells(19, 3).Value = "W:" & j & " L:" & k
End With
End Sub