hi ConnieIrene, welcome to the forum. try this in C:
=IF(COUNT(A1:B1),A1+B1,"")

not sure about the formatting of blank cells. uploading a sample Excel file in the thread will enable us to help you better. to upload, press "Go Advanced" beside the "Post Quick Reply" button & click on the paperclip icon