@pk123 does it work if you change AND to OR?
and is there a row where Column5 = var1 and Column9 = var2?