Database Duplicate entries (Date & Item Based)
Hi All,
I am struggling with a Item & Date based duplication formula.
1) For ease of reference I have filtered the database on Item "WL04". Various "ITEMS" with unique id's gets submitted into this database.
2) There can only be one entry per "ITEM" per "DATE"
3) As can be seen on the screenshot there are two entries for 27/10/21 (marked in red) as well as for 28/10/21 (marked in blue).
4) I would like the "ISDUP" column to show the value "2" in both these cases since there is 2 entries on both dates. If there is only one entry per date it must show "1".
5) My current formula looks like this: =COUNT(DISTINCT(COLLECT([📄 HEADING]:[📄 HEADING], [📅 DATE]:[📅 DATE], [📅 DATE]@row, [📄 ITEM]:[📄 ITEM], [📄 ITEM]@row)))
6) Note that the "HEADING" column is all C0177. I am not worried about this variable i.e. this can change from date to date.
I would really appreciate your help.
Regards
Chris
Best Answer
-
Try this...
=COUNTIFS(Item:Item, @cell = Item@row, Date:Date, @cell = Date@row)
Answers
-
Try this...
=COUNTIFS(Item:Item, @cell = Item@row, Date:Date, @cell = Date@row)
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.9K Get Help
- 441 Global Discussions
- 153 Industry Talk
- 501 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 79 Community Job Board
- 511 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!