Total specific columns only

strawberry1972

Board Regular
Joined
Oct 28, 2004
Messages
56
Using a formula rather than VBA, how could I add up the figure on the same row number of each column depending on the column title? In a cell on the same row at the end I want the total of all the values in the cells say on line 100 which have the same defining column heading. How is this possible please?
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

strawberry1972

Board Regular
Joined
Oct 28, 2004
Messages
56
That formula sums all the data though when I want it to strip out only the columns that are relevant. Anything else?
 

fairwinds

MrExcel MVP
Joined
May 15, 2003
Messages
8,638
No it does not.

It sums only the columns that have "your title" in row 1.
 

strawberry1972

Board Regular
Joined
Oct 28, 2004
Messages
56
Sorry, apologies from me. Had a typo. Thanks very much for that, I was trying to overcomplicate things as usual!

Works perfect :biggrin:
 

Forum statistics

Threads
1,147,848
Messages
5,743,525
Members
423,801
Latest member
paulj4177

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