Hi, I wonder whether someone may be able to help me please.
Using an example I've discovered here: https://uk.answers.yahoo.com/questio...8105107AAt5dg4 I'm trying to put together a script which counts the unique values in column B, but assigns these to the unique values in column D.
I must admit I don't entirely understand the original script in full, but I've managed to make some changes which you'll find in the attached a file, which I'm also hoping will perhaps illustrate what I'm trying to achieve a little better.
- Please open the file where you'll be taken to the "In Flight Projects" sheet, then please
- Click on the button,
- You'll notice that from cell G3 the unique values from column D are listed, and in column H, the number of times that value appears in column D.
What I'm trying to do is still keep the values in column G exactly the same, but rather than counting the values from column D, I want to count the unique values from column B.
To show the results I'm looking to achieve and location on the sheet I've included a "Desired Outcome" sheet.
I just wondered whether someone could possibly look at this please and offer some guidance on how I may achieve this.
Many thanks and kind regards
Bookmarks