Matching and numbering rows
I need help creating a formula that will check 2 columns (Location and Date) then create a number for that row. If on previous rows the same match occurred, then the number will grow.
Ex:
Number Location Date
1 SLC 2/20/2020
2 SLC 2/20/2020
1 ATL 2/20/2020
3 SLC 2/20/2020
1 SLC 2/21/2020
1 ATL 2/21/2020
2 SLC 2/21/2020
As you can see when location and date match with a previous row, the number is added by one. On this way I can see how many times a Location is checked in the same day.
Thank you. Al
Answers
-
Try something like this...
=COUNTIFS(Location$1:Location@row, Location@row, Date$1:Date@row, Date@row) + " " + Location@row + " " + Date@row
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!