Sum - want to sum just the number in a column that has data

itr674

Well-known Member
Joined
Apr 10, 2002
Messages
1,786
Office Version
  1. 2016
Platform
  1. Windows
I have "p#" in column a and "b#" in column b. The "p" represents presure and 'b" represents burning. The "#" represents a number that is between 1 and 10.

I have 100 rows and use columns a and b. What is the formula for summing just the number in the cell a1 : b100?

Hope everyone can understand this I am at work and can't use Coolo ...
This message was edited by em on 2002-09-06 05:56
This message was edited by em on 2002-10-20 01:24
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
On 2002-09-06 05:55, em wrote:
I have "p#" in column a and "b#" in column b. The "p" represents presure and 'b" represents burning. The "#" represents a number that is between 1 and 10.

I have 100 rows and use columns a and b. What is the formula for summing just the number in the cell a1 : b100?

Hope everyone can understand this I am at work and can't use Coolo ...
This message was edited by em on 2002-09-06 05:56
Hi em,

Try the magic word "SUMPRODUCT"

=SUMPRODUCT((MID(A1:B100,2,2)*1))

Eli
 
Upvote 0
I read the question as how to sum column A or B ignoring the Text. If this is not what you require, advise or ignore the following.

A concise example often makes a question much clearer.

3 ideas

1. extract the number in an adjacent column and then sum
a) =RIGHT(LEN(A1)-1) or
b) =substitute


2. Array enter (Ctrl-Shift-Enter) the following

=SUM(1*(0&TRIM(SUBSTITUTE(A1:A100,"p",""))))

3. record the information as numbers and add
the text part with custom format
This message was edited by Dave Patton on 2002-09-06 07:06
 
Upvote 0

Forum statistics

Threads
1,214,893
Messages
6,122,118
Members
449,066
Latest member
Andyg666

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