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