How to sum formulas that returns a #N/A

cc9083

New Member
Joined
Mar 5, 2009
Messages
20
Hi there. I have 3 separate columns (Column H, J & K) that has the "index and match" formulas going vertically downwards. I've created another Column L to sum the row results of Column H, J & K respectively. However, since the "index and match" formulas in Column H, J & K always return #N/A results it is certain that I'll have the same #N/A for my sum in Column L. Even when 1 of the 3 columns has valid data (a figure) the sum in Column L will return the same #N/A.

I have searched for a solution and this was the formula that was recommended in another post but it works only for consequetive cells. How do I tweak in order for it to work on interval cells.

=SUM(IF(ISNA(C4:C11),0,C4:C11)) - Needs to be entered with Ctrl + Shift+ Enter

Your immediate assistance is much appreciated. Thanks in advance.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Krishnakumar

Well-known Member
Joined
Feb 28, 2003
Messages
2,615
What's the range to sum ?

Is it what you are after?

=SUM(SUMIF(H15:I15,{">0","<0"},H15:I15),SUMIF(K15,{">0","<0"}))

adjust the range.
 
Upvote 0

cc9083

New Member
Joined
Mar 5, 2009
Messages
20
Hi Kris,

Sorry there is some typos in my request. Corrected in red.

Hi there. I have 3 separate columns (Column H, J & L) that has the "index and match" formulas going vertically downwards. I've created another Column M to sum the row results of Column H, J & L respectively. However, since the "index and match" formulas in Column H, J & L always return #N/A results it is certain that I'll have the same #N/A for my sum in Column M. Even when 1 of the 3 columns has valid data (a figure) the sum in Column M will return the same #N/A.

I have searched for a solution and this was the formula that was recommended in another post but it works only for consequetive cells. How do I tweak in order for it to work on interval cells.

=SUM(IF(ISNA(C4:C11),0,C4:C11)) - Needs to be entered with Ctrl + Shift+ Enter

Your immediate assistance is much appreciated. Thanks in advance.
 
Upvote 0

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
Control+shift+enter, not just enter:

=SUM(IF(ISNUMBER(H4:L100),H4:L100))-SUM(I4:I100,K4:K100)

Or:

M4:

=SUM(SUMIF(H4,">0"),SUMIF(J4,">0"),SUMIF(L4,">0"))

Then run an ordinary Sum on M...

=SUM(M4:M100)
 
Last edited:
Upvote 0

PATSYS

Well-known Member
Joined
Mar 12, 2006
Messages
1,750
In cell M2,

=SUM(IF(ISNA(H2:L2)=FALSE,(H2:L2)))

Confirm with CTRL+SHIFT+ENTER

Copy down.
 
Upvote 0

Forum statistics

Threads
1,191,701
Messages
5,988,176
Members
440,135
Latest member
DCDavid

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top