Summarize Values by Change in Value of 2nd Digit

Smokeyham

Board Regular
Joined
Feb 1, 2006
Messages
120
Office Version
  1. 365
Platform
  1. Windows
I have a list of account numbers, and associated budget amounts:

Account # Budget
6801 5,671
6802 20,981
6803 55,678
6804 5,992
6901 1,839
6902 89,271
6903 66,532


I would like Excel to summarize the total of the amounts in the list of accounts based on when the 2nd digit in the account number changes, (i.e. when 6800-series changes to 6900-series). Here is what the ideal output would look like:

Account # Budget
6801 5,671
6802 20,981
6803 55,678
6804 5,992
68XX 88,322

6901 1,839
6902 89,271
6903 66,532
69XX 157,642

Any suggestions on a way to do this?

Thanks for any help.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,216,091
Messages
6,128,772
Members
449,468
Latest member
AGreen17

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