this is a 'compile error', and excel is telling you that there is a typo. (this is exactly why you use the 'option explicit' at the top)
The typo is in the text that is highlighted. you will see that the dim statement is lLastRow - but the highlighted text is 'lastrow'. Spell it exactly as written in the dim statement near the top (type it in lowercase, and excel will convert it to the correct capitalisation when it recognises it correctly).

to write a value in a cell, you can use:
activesheet.range("B" & lRow2).value = "some text"
if lRow2 = 5, then this resolves to cell B5. Change "B" to be whatever column you need, and change "Some text" to be something useful. eg.
activesheet.range("B" & lRow2).value = activesheet.range("A" & lRow2).value
You seem to have a couple of choices to make, so you might like to search the internet for "Excel VBA If Then"
I think you would also do well to search for "Excel VBA Instring"

I think these two commands will let you identify the patterns you are looking for