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

itr674

Well-known Member
Joined
Apr 10, 2002
Messages
1,778
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

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

eliW

Well-known Member
Joined
Mar 2, 2002
Messages
1,931
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
 

Dave Patton

Well-known Member
Joined
Feb 15, 2002
Messages
4,679
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
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
 

Watch MrExcel Video

Forum statistics

Threads
1,130,445
Messages
5,642,194
Members
417,259
Latest member
gtacw

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