#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.
-
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.
-
Weird... I cant help... sorry
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 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!