Distinct Function and creating a helper column
Well, I am striking out. I want to create a helper column generated off the Distinct Formula. Basically, i want to place a 1 in a column if the [Base] Column is distinct to other entries.
=IF(DISTINCT(Base:Base), 1, 0) is my formula thought but i dont know exactly how to accomplish this.
Thanks for your help in advance!
Answers
-
Try this:
=IF(COUNTIFS(Base:Base, Base@row) = 1, 1, 0)
Hope it helps.
-
@Christian Graf Thanks for your help. Unfortunately, the formula only places Zeros in the column. It does not count any of the distinct bases.
Any other thoughts?
-
Did you convert it to a column formula? It should work.
If you are only getting zeros, then those bases are not distinct values. They must have duplicates.
What value format are these "bases" are these numeric values, or character values?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!