Remove #VALUE!

RodneyW

Active Member
Joined
Sep 24, 2010
Messages
439
Office Version
  1. 2013
Platform
  1. Windows
I have this formula on cell G200. =G17+G51+G85+G119+G153+G187

If any of the cells referenced in the formula are empty, #VALUE! displays. What I need to have happen is for G200 the results from the above formula to total everything where there is a value. Lets say the values in the cells referenced above are: 10, 20, 30, 40, 50 and the last cell G187 doesn't have a value. G200 should display 150 (the total of 10+20+30+40+50).

Cells G17 etc all have formulas similar to this:

=IFERROR(VLOOKUP($B$6,'D:\Corporate\Analytics\2019 Analytics\Final2019\[NewsLettersNov2019.xlsx]Stations'!$A$3:$FN$208,IF($C$6="CCM",120,IF($C$6="CTT",59,IF($C$6="NT",92,155))),FALSE),"")

How can I get rid of the #VALUE! error?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Use SUM instead:

=SUM(G17,G51,G85,G119,G153,G187)
 
Upvote 0
Use
=SUM(G17,G51,G85,G119,G153,G187)
 
Upvote 0
This worked =SUM(G17,G51,G85,G119,G153,G187) thank you
 
Upvote 0
Glad we could help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,215,444
Messages
6,124,891
Members
449,194
Latest member
JayEggleton

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
Back
Top