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