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

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
64,580
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,210
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,170,946
Messages
5,872,885
Members
432,952
Latest member
CincyExcel1

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