Automating Grouping of Data by Various Key Words

grogfrog

New Member
Joined
Jul 13, 2016
Messages
1
I have a large dataset of transactions that I want to organize by type of transactions. The only way to know what type of transactions they are is to keyword filter them in a column of transaction descriptions. The descriptions are not uniformly coded and oftentimes, you will not find the keyword you are looking for in the description column although that transaction matches what is being searched.

For example, if I want to label all transactions that have to do with "uniforms," I will keyword filter the description column by "uniform." However, there will be transactions that are described as "shirts" or "workwear."

I have been doing a lot of manual scrubbing to group these transactions. However, I wanted to know if there was a more automated way of doing this.

To be specific, this is the procedure I currently follow:

1) Pivot the data
- Columns: quarter
- Rows: transaction description text
- Values: invoiced spend

2) Alphabetize data

3) Group together rows that belong together
- This creates a "transaction description text 2" field that precedes "transaction description text" under 'Rows'

4) Keyword filter the "transaction description text" field
- Continue grouping
- There are many rows (transactions) that are left ungrouped

5) Highlight one grouping and scroll down the pivot table highlighting relevant rows and Shift + F10 + Group
- I do this for each grouping until there are no ungrouped transactions left


Open to any suggestions! Thanks!
 

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

Forum statistics

Threads
1,215,267
Messages
6,123,964
Members
449,137
Latest member
yeti1016

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