In need of a formula to count number of occurrences based on date

I have a Date & Location column in one sheet and on another sheet I have a date and cell that needs to sum the number of times a location appears on that date. What formula can I use to achieve this?
Sheet A
Sheet B
End goal for example:
Rochester cell = 2
Albany cell = 2
Best Answer
-
Hi! You'll want to use COUNTIFS (COUNTIFS Function | Smartsheet Learning Center) and cross-sheet references (Create cross sheet references | Smartsheet Learning Center)
I made a mini version of your example, with only the first 6 rows you did. Here's the column formula for Rochester in sheet 2: =COUNTIFS({ExampleSheet1 Dep Date column}, Date@row, {ExampleSheet1 Depot column}, "Rochester")
Screenshots:
Answers
-
Hi! You'll want to use COUNTIFS (COUNTIFS Function | Smartsheet Learning Center) and cross-sheet references (Create cross sheet references | Smartsheet Learning Center)
I made a mini version of your example, with only the first 6 rows you did. Here's the column formula for Rochester in sheet 2: =COUNTIFS({ExampleSheet1 Dep Date column}, Date@row, {ExampleSheet1 Depot column}, "Rochester")
Screenshots:
Help Article Resources
Categories
Check out the Formula Handbook template!