i have a vba line of code like this:
ActiveCell.FormulaR1C1 = "=LOOKUP(""ETG_C"",RC[-10],RC[-8])"
i would like to know how is it possible to have the activecell formula be something else in the case that it does not find ETG_C
for example:
=if(not(LOOKUP(""ETG_C"",RC[-10],RC[-8]))) then =LOOKUP(""something_else"",RC[-10],RC[-8])