sum formula that ignores none numbers

plost33

Well-known Member
Joined
Oct 2, 2008
Messages
866
I need a formula that will sum A1:A100 although some of the values in that range are text.

must be a formual to only add the numerical values int he range and ignore cells with non numerical characters.

hope someone can assist.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
The SUM function ignores text, including text that looks like numbers.
 
Upvote 0
I need a formula that will sum A1:A100 although some of the values in that range are text.

must be a formual to only add the numerical values int he range and ignore cells with non numerical characters.

hope someone can assist.

=SUM(A1:A100)

would ignore all non-numeric values (though not the error values like #REF!, etc.).
 
Upvote 0
I need a formula that will sum A1:A100 although some of the values in that range are text.

must be a formual to only add the numerical values int he range and ignore cells with non numerical characters.

hope someone can assist.
The SUM function will ignore text entries.

=SUM(A1:A100)

This version will also ignore error values:

=SUMIF(A1:A100,"<1E100")
 
Upvote 0
oopss..i wasnt actually using sum..i was using a1+a2+a3..ect... works now. thanks

The + operator in A1+A2 attempts to read or if needed coerce
what is in A1 and A2 into numbers in order to proceed. Upon failing on true text,
it will end up in a #VALUE!... This holds for all of the math operators
like -, *, ^, etc.
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,280
Members
452,902
Latest member
Knuddeluff

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