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.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!