adding with #n/a in a row

jberwald

Board Regular
Joined
May 3, 2005
Messages
205
I have a row set up with monthly totals for the year that feed into a graph. I have inserted a formula in Oct. thru Dec. that will give the error message #n/a when the cell is blank.

My total (sum) for the year cell is now also giving me the #n/a error message. How do I correct this.

(sorry about posting this improperly the first time!)
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
58,293
Office Version
  1. 365
Platform
  1. Windows
You can use the ISNA function to capture the ISNA error (and set it equal to 0, or some other value needed for your calculation), i.e.

=IF(ISNA(formula),0,formula)

Check out Excel's help on ISNA for more details.
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,209
I have a row set up with monthly totals for the year that feed into a graph. I have inserted a formula in Oct. thru Dec. that will give the error message #n/a when the cell is blank.

My total (sum) for the year cell is now also giving me the #n/a error message. How do I correct this.

(sorry about posting this improperly the first time!)

=SUM(SUMIF(Range,{"<0",">0"}))
 

Forum statistics

Threads
1,136,519
Messages
5,676,333
Members
419,619
Latest member
jalme

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