1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Grouping similar not duplicate data of various Char lengths.

I have a database of over 30,000 outlets with the task of grouping them by their brand and having a count of how many outlets are under that brand, for example below the brand would be "1 Million" and there are 5 outlets.

https://preview.redd.it/03j3eklh5rpg1.jpg?width=703&format=pjpg&auto=webp&s=e742660581e53107126c075640534e3495b01ea8

The issue is not just the quantity of data but also the various character length ruling out a simple =left() or =unique,

Another example below of different "Acai" brands and the variation of lengths.

https://preview.redd.it/t7iirtf66rpg1.jpg?width=698&format=pjpg&auto=webp&s=77758287ac5b147b4e8030fed756f78efcaded83

Is there a way to automate this or at best create groups that would at least reduce the number from 30,000+ to something more manageable.

Thank you for any help or advice.

submitted by /u/Cirrlow
[link] [comments]

Want to read more?

Check out the full article on the original site

View original article