vaishaks89
New Member
Hi All,
I am here with a query, which I found quite interesting. Recently, a guy in our office posted in the workgroup about how to use the Sum function even when there is an error in the datasets. Can someone explain how this works? He seems to be using arrays. I will paste the below post:
"Have you ever tried to sum a column of numbers, but the SUM formula doesn't work because there's an error in the data set?
There's a way to SUM the column even if it contains an error by using an array formula.
If the data is in Column B, use this formula in cell B5: =SUM(IF(ISERROR(B1:B4),0,B1:B4)). Make sure you press the Control, Shift & Enter keys at same time instead of only hitting Enter. You'll know you did it correctly if you see your formula surrounded by { and }."
I am here with a query, which I found quite interesting. Recently, a guy in our office posted in the workgroup about how to use the Sum function even when there is an error in the datasets. Can someone explain how this works? He seems to be using arrays. I will paste the below post:
"Have you ever tried to sum a column of numbers, but the SUM formula doesn't work because there's an error in the data set?
There's a way to SUM the column even if it contains an error by using an array formula.
If the data is in Column B, use this formula in cell B5: =SUM(IF(ISERROR(B1:B4),0,B1:B4)). Make sure you press the Control, Shift & Enter keys at same time instead of only hitting Enter. You'll know you did it correctly if you see your formula surrounded by { and }."
