Hi. I am trying to get this code to work but when I run it to str1, I get Subscript out of range. I need this code to run very efficiently so I used a variant instead of looping through all cells. I have ~ 300k rows and this same operation was difficult for me to do in access.
The code essentially saves a column as variant, and calculates a proportion with 1 / (Number of times that string matches all others) in the next column's cell over. Hope you can see what I am trying to do. Also please disregard any error "cant divide by zero". Thanks in advance!
![]()
Please Login or Register to view this content.
Bookmarks