johnelstad
New Member
I'm comfortable with formulas, but very new to VBA and suddenly I have a task so advanced I don't even know where to start.
I need a script that will go through all the rows in Column A (starting on row 2), create a range for matching cells (they'll be contiguous) and check if the cells of that range in Column B are "Closed". The script will then remove the duplicate rows and replace "Closed" with the percentage of "Closed" cells in that range. Below is a sample Before and After using dummy text (columns separated by commas):
Column A, Column B
cat, Closed
cat, Closed
cat, Closed
dog, Closed
dog, In Progress
horse, QA Queue
horse, In Progress
horse, In Progress
horse, QA Queue
cat, 100%
dog, 50%
horse, 0%
Thanks in advance for any help you can provide!
I need a script that will go through all the rows in Column A (starting on row 2), create a range for matching cells (they'll be contiguous) and check if the cells of that range in Column B are "Closed". The script will then remove the duplicate rows and replace "Closed" with the percentage of "Closed" cells in that range. Below is a sample Before and After using dummy text (columns separated by commas):
Column A, Column B
cat, Closed
cat, Closed
cat, Closed
dog, Closed
dog, In Progress
horse, QA Queue
horse, In Progress
horse, In Progress
horse, QA Queue
cat, 100%
dog, 50%
horse, 0%
Thanks in advance for any help you can provide!