SUM Function to skip over cells with text so as not to produce "#VALUE!"

Kevman403

New Member
Joined
Aug 8, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I have a very simple formula that is adding up certain columns within a worksheet, =SUM(AY3+BF3+BM3+BT3+CP3+CW3+DD3+DK3+EG3+EN3+EU3+FB3+FX3+GE3+GL3+GS3)
The issue is, if any of these cells contain text (which is always "Inst. Unavailable") it returns a value of "#VALUE!" .. to explain more, Within the worksheet, all the cells have number values, but randomly one of them could be "Inst. Unavailable"

I've tried using commas instead, =SUM(AY3,BF3,BM3,BT3,CP3,CW3,DD3,DK3,EG3,EN3,EU3,FB3,FX3,GE3,GL3,GS3) but the formula only returns a value of "0" when using this.

I've tried using "N", for instance, =SUM(N(AY3)+N(BF3)+N(BM3)+N(BT3)+N(CP3)+N(CW3)+N(DD3)+N(DK3)+N(EG3)+N(EN3)+N(EU3)+N(FB3)+N(FX3)+N(GE3)+N(GL3)+N(GS3) but again, the formula only returns a value of "0" hen using this.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: SUM Function to skip over cells with text so as not to produce "#VALUE!"
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
Please post a sample of your data.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0

Forum statistics

Threads
1,215,002
Messages
6,122,652
Members
449,092
Latest member
peppernaut

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