NewOrderFac33
Well-known Member
- Joined
- Sep 26, 2011
- Messages
- 1,283
- Office Version
- 2016
- 2010
- Platform
- Windows
Good afternoon,
Assuming I have the following items in a selected range: 1,2,2,2,3,4,4,5,6,6,7,7,8,8,9
can anyone suggest a VBA solution to display the number of items that occur in the list only ONCE?
In the above example, the answer would be 4 as only four numbers occur uniquely in the list (1, 3, 5 and 9).
If you can make it display those values too (e.g. "There are 4 items that occur only once: 1, 3, 5 and 9", that would be a bonus!)
As always, thanks in advance
Pete
Assuming I have the following items in a selected range: 1,2,2,2,3,4,4,5,6,6,7,7,8,8,9
can anyone suggest a VBA solution to display the number of items that occur in the list only ONCE?
In the above example, the answer would be 4 as only four numbers occur uniquely in the list (1, 3, 5 and 9).
If you can make it display those values too (e.g. "There are 4 items that occur only once: 1, 3, 5 and 9", that would be a bonus!)
As always, thanks in advance
Pete
Last edited: