Having a little problem with Google Spreadsheets.
I have a data column that has the same values. What I want to discover is a unique string. If so, echo is 'unique' (or something), but if it does not count the number of duplicates in the column and displays that number.
An example of what I want:
COL A RESULT COLUMN Apple Unique Banana Unique Banana 3 Banana 3 Cherry Unique Date Unique Date 2
An example of what I use for this code (= IF (A1 = A2, "Duplicate", "Unique")):
COL A RESULT COLUMN Apple Unique Banana Unique Banana DUPLICATE Banana DUPLICATE Cherry Unique Date Unique Date DUPLICATE
I assume that I really need a query (?) In which the text "Duplicate" is in this formula, which will count the same cell values ββuntil it sees a different value, and repeat this number.
If it can be done in one column perfectly. If I need another column and I need to execute 2 sets of queries, I can compromise.
Many thanks to those who can help.
Dave
DATATOO RESPONSE UPDATE
I fulfilled this query, changed column "A" to "E", and this is what was returned.
City Country Merge Duplicate City Country Aberdeen, UK Unique Aberdeen, UK 2 Bangor, UK 2 Bath, UK Unique Belfast, UK Unique Birmingham, UK Unique Birmingham, UK Unique Birmingham, UK Unique Birmingham, UK Unique Birmingham, UK Unique Birmingham, UK Unique Birmingham, UK Unique Birmingham, UK Unique
As you can see, this is not considered correct. Thoughts?