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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!