Duplicates from a a previous date
Hi All,
I'm currently trying to create a formula to count a row as a duplicate if the same information was entered the day before.
Example:
[Duplicate 2] formula is currently the following (but I know is wrong):
=IF(COUNTIFS(Orders:Orders, Orders@row, Date:Date, Date@row, Reasons:Reasons, Reasons@row) > 1, 1, 0)
I want the formula to compare the Orders and Reasons column and if they are the same from the PREVIOUS day, then I want to check the box in the [Duplicate 2] column. Hope that makes sense.
Any suggestions?
Thanks,
Luke
Best Answer
-
Subtract 1 from the Date@row to specify "the day before" and then change the argument to greater than zero:
=IF(COUNTIFS(Orders:Orders, Orders@row, Date:Date, Date@row - 1, Reasons:Reasons, Reasons@row) > 0, 1, 0)
Answers
-
Subtract 1 from the Date@row to specify "the day before" and then change the argument to greater than zero:
=IF(COUNTIFS(Orders:Orders, Orders@row, Date:Date, Date@row - 1, Reasons:Reasons, Reasons@row) > 0, 1, 0)
-
That did the trick! Thank you, Paul!
It's always something simple... 😀
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.1K Get Help
- 352 Global Discussions
- 198 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 443 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!