Try the following.
=IF(SUM(F2:G2)=0,"",SUM(F2:G2))
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm trying to copy a formula down a column. The formula is a sum of F2:G2, but in column H I wanted it not to show the zeros. How do I do that?
I've used the "IFERROR" for summation down a single column, as you can see with F & G, but I can't figure out how to return blank cells for sums in H.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Try the following.
=IF(SUM(F2:G2)=0,"",SUM(F2:G2))
Hi OutlookUser3656,
Good day! Thank you for posting to Microsoft Community. I am happy to help you.
You can use the formula below to check if both F and G cells are blank before calculating SUM value.
=IF(AND(ISBLANK(F2),ISBLANK(G2)),"",SUM(F2:G2))
If you would like to change the criteria to any of F and G cells showing blank, simply replace OR with AND in the formula can do the work.
Sincerely,
Ryan | Microsoft Community Moderator
***Note: In the event that you're unable to reply to this thread, please ensure that your Email address is verified in the Community Website by clicking on Your Account Name > "My Profile" > "Edit Profile" > Add your Email Address > tick "Receive email notifications" checkbox > click on "Save".***
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more