I figured it out! There is a function called TIMEVALUE which did exactly what I needed. Here is the updated code:
Dim gcell As Range
Dim cel As Range
Set gcell = Range("g4:g70")
For Each cel In gcell
If cel.Offset(0, -1) > TimeValue("1:00:00") And cel.Offset(0, -1) < TimeValue("1:30:00") Then
cel = 1
ElseIf cel.Offset(0, -1) > TimeValue("1:30:01") And cel.Offset(0, -1) < TimeValue("2:00:00") Then
cel = 2
ElseIf cel.Offset(0, -1) > TimeValue("2:00:01") And cel.Offset(0, -1) < TimeValue("2:30:00") Then
cel = 3
End If
Next
Bookmarks