# totaling numeric amounts based on text in another column

#### trueblue723

##### New Member
I would like to total numeric amounts based text in another column.

For example, I have a bunch of rows in "column F" with the same text (company name) and in "column I" i have numerics. Is there a way to total "column I" based on the same text of "column F"?

### Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Try this:
Code:
``=SUMIF(F:F,"companyname",I:I)``

If the purpose is to subtotal for each company name, then sort by company name and then use the SUBTOTAL function under the Data menu.

Or, if you have a unique list of customer names that you want to find the total for, then use the SUMIF function (ex. =SUMIF(A:A,C2,B:B))

A:A is where the customer name resides
B:B is where the amounts reside
C2 is the customer that you want to find the total

HTH!

i forgot to mention i have multiple company names, is there a way to do it without typing in the company names?

Did you see my post?

Or you could use a Pivot Table....

yup, i'm trying it now.. i keep u posted.
thanks
cam

ok so i tried subtotals first, but i cant really use that cause somehow its breaking up the rows in correctly and i'm thinking cause there is other info in other columns per company that is slightly different.

but =SUMIF(A:A,C2,B:B) works nicely

Replies
2
Views
215
Replies
3
Views
150
Replies
3
Views
184
Replies
3
Views
246
Replies
16
Views
231

1,221,127
Messages
6,158,087
Members
451,464
Latest member
Holden3

### 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.

### Which adblocker are you using?

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

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