I have to add 2 columns. It is simple to add these 2 columns using +. But in the actual scenario, blank cell is shown as blank if there was an error using IFERROR. So, I can´t add columns using +.
So, I´m using IFNUMBER to add only if cell contains numbers. It works well when applied on each cell (refer column D). But, when I apply the same on a range, when both cells contains numbers, it is counting only the first cell & not returning the sum (refer column E). Refer the cells highlighted in yellow. Not sure what is the problem. Can the experts help please?
So, I´m using IFNUMBER to add only if cell contains numbers. It works well when applied on each cell (refer column D). But, when I apply the same on a range, when both cells contains numbers, it is counting only the first cell & not returning the sum (refer column E). Refer the cells highlighted in yellow. Not sure what is the problem. Can the experts help please?
Cell Formulas | ||
---|---|---|
Range | Formula | |
E56:E63 | E56 | =IF(AND(ISNUMBER(B56:B63),ISNUMBER(C56:C63)),B56:B63+C56:C63,IF(ISNUMBER(B56:B63),B56:B63,C56:C63)) |
D56:D63 | D56 | =IF(AND(ISNUMBER(B56),ISNUMBER(C56)),B56+C56,IF(ISNUMBER(B56),B56,C56)) |
Dynamic array formulas. |