COUNTIF or VLOOKUP capabilities?
Hello friends!
I have a column of data in a grid, formatted as a dropdown with specific text to select. I want to create a formula wherein each instance of a particular dropdown selection is counted-see generic example below. I've tried a couple of permutations of "COUNTIF" and VLOOKUP" to no avail. Is this something I should do in a report instead of the grid? Do I need a separate column in my grid for each status instead of a single drop-down?
Any advice would be appreciated.
Example:
I want to know the number of instances of each status: Full (5), Partial (4) and Canceled (1).
The grid contains hundreds, if not thousands of records. I'd like the totals for each status to update "automagically" when a new row is added or a status changes in an existing row (moving from "partial" to "full" for example).
Answers
-
You will need to use something like the below and adjust the "text" appropriately:
=COUNTIFS(Status:Status, @cell = "Full")
-
Thank you! One more clarification, to count all the statuses in a single formula, do I add additional @cell values? As in =COUNTIFS(Status:Status, @cell="Full", @cell="Partial", @cell="Canceled") or, would these need to be separate formulas for each status?
-
You would need to write separate formulas for each.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 412 Global Discussions
- 221 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 140 Just for fun
- 57 Community Job Board
- 461 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!