Quantcast
Viewing all articles
Browse latest Browse all 29110

ignore blank cells in Excel

I've figured out this formula (with tons of help!) but the problem is that it is calculating blank cells as "0". Where a blank cell should get no calculation and a true zero would equal 22 in each IF statement. How can I fix that?
=IF(C5>-1,22-C5,0)+IF(C25>-1, 22-C25,0)+IF(C33>-1,22-C33,0)+IF(C43>-1,22-C43,0)+IF(C56>-1,22-C56,0)+IF(C61>-1,22-C61,0)

Viewing all articles
Browse latest Browse all 29110

Trending Articles