I have a column with several names that all begin with uppercase letters and between these names are identifiers that each name is associated with. These identifiers all start with a lowercase letter. The names and identifiers vary with each raw data that are uploaded to this sheet. I'm trying to put together a macro/VBA script using regex and don't know how to go about it. I assume using regex ^[A-Z]* and ^[a-z]* to capture the names and identifiers respectively would be a good start to automate how to get the count of these identifiers and put the count to the cell next to each corresponding name:
For example: In the attached image, the yellow highlights are the identifiers and the names are in bold text, all in column B. The bottom sheet in the image shows what I'm trying to achieve. The counts (in red texts) of the identifiers for each names put in the cell next to the name. I will appreciate help with a code.
For example: In the attached image, the yellow highlights are the identifiers and the names are in bold text, all in column B. The bottom sheet in the image shows what I'm trying to achieve. The counts (in red texts) of the identifiers for each names put in the cell next to the name. I will appreciate help with a code.