Formula to count the number of cells that contain 3 criteria including name within a list
I have tried a number of formulas and each time run into an error regarding the last item. I want to count a row if a name appears within a list in a cell with a designated date and location within that row.
=COUNTIFS({Class Attendance Range - Date}, [DATE], {Class Attendance Range -Location}, [LOCATION], {Class Attendance Range - Attendance List}, [NAME])
=COUNTIFS({Class Attendance Range - Date}, [DATE], {Class Attendance Range -Location}, [LOCATION], CONTAINS([NAME],{Class Attendance Range - Attendance List}))
=IF(AND({Class Attendance Range - Date}, [DATE], {Class Attendance Range -Location}, [LOCATION], CONTAINS([NAME],{Class Attendance Range - Attendance List}), 1, " ")
=IF(AND({Class Attendance Range - Date}, [DATE], {Class Attendance Range -Location}, [LOCATION], {Class Attendance Range - Attendance List}, [NAME]) 1, " ")
Please help!
Answers
-
Your first one is the closest, but if you are using a reference to a cell within the same sheet as the formula, you need to include either a specific row number or "@row".
Date@row
Location@row
Name@row
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.4K Get Help
- 364 Global Discussions
- 200 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!