write whole data row from excel if the condition is met