For Each cell In Range("M2:M100") If cell.Value LIKE "*товар получен*" Then cell.Offset(0, 1).Value = "кредит" End IfNext