Automatywa programu Excel z datą i godziną

=IF(A1<>"",IF(B1<>"",B1,NOW()),"")
Farrukh Kamal