I have a column called "State". How can I do a count by all "State" and produce a chart? I want to avoid doing a formula for each State. Suggestion?
Can you share a screenshot? To get a unique count of each state you're going to have to create either a formula for each state or have another sheet that lists each state, and then does a count if with a cross-sheet formula to check if the column to the left is in your list.
Or are you just trying to count every row that has text in the state column? It would be helpful to have a clearer understanding of your needs.
Some of the row have State selected and some don't, I want a count by State, almost like a Pivot function in a spreadsheet.
You would need to create a table with all of the possibilities in one column (State Column) and the following formula in another column (Count Column).
=COUNTIFS({Master Sheet State Range}, [State Column]@row)
For the range you would follow the appropriate steps to create a cross sheet reference and select the column on the first sheet that houses the state selections.
The [State Column]@row portion just says to count the range if it equals whatever is in the [State Column] for whatever row the formula is sitting on.
Paul, is there a way to get a dynamic list of what states they are using so they don't have to show all 50 in the chart?
So each row represent each client and we are trying to find...
New clients will be added to the sheet as we go. Hope this clear things up.
Paul's solution here will provide you with a count for each state.
EDIT: I do remember seeing some posts about dynamic dropdowns somewhere here in the community. I imagine any solutions presented in those would give some pretty good insight into making a dynamic listing of what has been used.
Otherwise...
I haven't been able to find a way without going outside of Smartsheet. Due to SS's lack of parsing, it is A LOT more work than it is worth.
You would have to use a JOIN/COLLECT in conjunction with a helper column to pull the list of unique entries from the master sheet then use a series of MID statements in the rows going down the column to parse it out. You would have to add enough MID statements to account for all 50 rows in case all are eventually selected at least once. By the time you get that done, copy/pasting from dropdown is A LOT faster and easier.
Typically if the options are in a dropdown column, I will open the column properties, select all and copy, then paste it into a sheet. I have also done something similar in reverse to maintain alphabetical order in my dropdown lists.
I would suggest a table similar to below...
State Count Products Revenue
WV 1 2 3
MD 1 2 3
PA 1 2 3
VA 1 2 3
.
Where you see the number 1, use
=COUNTIFS({Master Sheet State Column}, State@row)
2 would be
=SUMIFS({Master Sheet Product Count Column}, {Master Sheet State Column}, State@row)
and finally 3 would be
=SUMIFS({Master Sheet Revenue Column}, {Master Sheet State Column}, State@row)
I want to push the latest status log sheet entry to the dashboard. I have added working columns for the last date, recent value (0 or 1) and recent status (text field). The recent columns are blank except for the most recent data rows (that part of the sheet is working). I have a project metric sheet template across topics…
Hi - I am trying to figure out how to create a SUM of the Total Project Time aligned to each PM for all of their projects. On my master sheet I have the Resource Type, Resource Name, and a Helper Column for Time. The Helper Time is an estimated allotted time based on the timeframe of the project. Example: <3 months = 25…
I am looking to count how many letters we have issued within each month, this is by going by the modified date, these are the formulas i have tried as i want to start this from August: =COUNTIFS(Modified:Modified, MONTH(@cell ) = 8, Modified:Modified, YEAR(@cell ) = 2025) However, it comes up with an error. Any ideas…