#Invalid Operation with MATCH formula
=MATCH([Program Unique ID]@row, [Program Unique ID]:[Program Unique ID], 0)
I am trying to use this formula to return which row # the first match is in so that I can automatically mark the first one and differentiate it from following duplicates, but my formula is returning #invalid operation.
Open to ideas on how to fix this or other ways to get what I am looking for.
Answers
-
Use a checkbox column insert the below formula. Should identify the first of any duplicates.
=IF(COUNTIF([Program Unique ID]$1:[Program Unique ID]@row, [Program Unique ID]@row) <> 1, 0, 1))
-
Thanks BullandKmer, that makes sense to me, but it still isn't working. I tried that and also tried this:
=IF(COUNTIF([Program Unique ID]1:[Program Unique ID]@row, [Program Unique ID]@row) > 1, 0, 1)
but I can't seem to get the COUNTIF function to work even on its own. I just keep getting the same Invalid Operation Error.
-
Double check the column you are referencing. It sounds like that error may be present in that column which would push through to any formulas referencing it.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
There is no error in the column I'm referencing. It is a text-type column and populates using a formula. It is working as it should.
-
Did you double check no filters or anything are applied? The only way to really get that particular error out of a MATCH function is to have it in a referenced range or have a bug on the back-end. Your COUNTIF also does not have any syntax issues that would throw that error.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Weird... I cant help... sorry
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!