excel timestamp when row changes code example Example: excel table row timestamp =IF(A2<>"",IF(B2<>"",B2,NOW()),"")