|  

» Ignoring Blank Cells when Performing Calculations

Problem:

Columns A & B contain numbers as well as empty cells.
We want to be able to multiply each number in column A with the matching number in Column B without getting false results or errors.

Solution:

Use IF, AND, and ISNUMBER functions in the following formula:
=IF(AND(ISNUMBER(A2), ISNUMBER(B2)),A2*B2,"")


Rate This Tip
12 34 5
Rating: 3.50     Views: 15523
No comments have been submitted.
Click here to post comment
For Registered Users
Name
Comment Title
Comments