Summing a Column with #N/A

Lambright44

New Member
Joined
Aug 3, 2010
Messages
12
I have a large dataset and am trying to sum the results from a VLookup. Unfortunately, the results bring in the #N/A value. I can paste special to do away with the value but then I have to do that everytime as I loose my formulae.
I know there was a way to make the N/A value into a Zero by using the Custom Formating but its ben so long that I have forgotten that step and I'm sure there is an easier way.
Have tried SumIf with mixed results.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
63,261
Office Version
  1. 365
Platform
  1. Windows
Welcome to the Board!

Just modify your VLOOKUP formulas to return 0 in such cases.
Here is the layout for those formulas:

In Excel 2007 and later:
=IFERROR(VLOOKUP(...),0)

Earlier versions of Excel:
=IF(ISNA(VLOOKUP(...)),0,VLOOKUP(...))
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
63,261
Office Version
  1. 365
Platform
  1. Windows
Aladin,
I think you are missing the double quote at the end of your equation...
 

barry houdini

MrExcel MVP
Joined
Mar 23, 2005
Messages
20,825
In Excel 2010 you can use this formula to sum a range and ignore errors

=AGGREGATE(9,6,range)
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,614
Messages
5,832,711
Members
430,156
Latest member
Amosjack1

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