I'm working on a Macro but I'm struggling.
I'm needing to count each instance of unique text strings in a column. (Has a column header "Status".)
The number of each unique text strings will vary from 2 to about 30, but the spreadsheet will have up to several hundred rows with multiples of each. So it's possible to have close to 100 different unique text strings.
The macro starts counting from Row 2 and goes to the last row.
I will then need to display the results in an Alpha order in one column along with the quantity of each in the next.
I tried doing a Pivot Table macro, but kept running into an error 5 as the export constantly has variable row counts.
Any suggestions?
I wanted to try a 2D array (if that's the correct term) like Stat(x,y) where the x was "string" and y the number of instances of x, But couldn't figure how to increment y.
I'm needing to count each instance of unique text strings in a column. (Has a column header "Status".)
The number of each unique text strings will vary from 2 to about 30, but the spreadsheet will have up to several hundred rows with multiples of each. So it's possible to have close to 100 different unique text strings.
The macro starts counting from Row 2 and goes to the last row.
I will then need to display the results in an Alpha order in one column along with the quantity of each in the next.
I tried doing a Pivot Table macro, but kept running into an error 5 as the export constantly has variable row counts.
Any suggestions?
I wanted to try a 2D array (if that's the correct term) like Stat(x,y) where the x was "string" and y the number of instances of x, But couldn't figure how to increment y.