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
- 66K Get Help
- 429 Global Discussions
- 149 Industry Talk
- 488 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 74 Community Job Board
- 499 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!