Counting values from 2 columns

Rowan2960

New Member
Joined
Jan 7, 2014
Messages
6
I have 2 columns in a spreadsheet column B with individual towns and column C with a revenue value added.

I need a formula to count the revenue per individual town in column D

thanks

Rowan
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Rick Rothstein

MrExcel MVP
Joined
Apr 18, 2011
Messages
37,149
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
I have 2 columns in a spreadsheet column B with individual towns and column C with a revenue value added.

I need a formula to count the revenue per individual town in column D
I am guessing that your towns repeat themselves in Column B, so unless you want Column D to have the totals repeated next to each town in the list, you will need to use Columns D and E... in Column D would be listed each town only once and in Column E would be the total revenue for that town. Do you have such a list of the unique town names or will you need formulas to figure that list out for you?
 

Forum statistics

Threads
1,136,354
Messages
5,675,294
Members
419,559
Latest member
BraytonM

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