Noob started coding 2 days ago. I need to combine these two if statements so only one IF works at a time. Every time I attempt to add Else, Else If or even End If I receive errors such as Else without IF. Nothing I do seems to work. Thank you for your help.
If Cells(i, 15).Value = "address" Then Result = "Return"
ActiveSheet.Cells(i, 27).Select
ActiveCell.Value = Result
Cells(i, 28).Value = Cells(i, 8).Value + Cells(i, 26).Value
If Cells(i, 15).Value <> "address" Then Result = "Pickup"
ActiveSheet.Cells(i, 27).Select
ActiveCell.Value = Result
Cells(i, 28).Value = Cells(i, 8).Value - Cells(i, 26).Value