Sign in to join the conversation:
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)
Hi there, I've created a sheet to where my team is tracking information received. In one column, we are logging the date and time information came in (ie: November 21, 2025 8:30 AM). I would like to add a checkbox column, with a formula specifying that the box be checked if the logged time is AFTER 8:30 AM, and left…
I have a list of properties that I'm keeping track of. I have each building divided into suites (children) and each suite has a cell with its square footage. The total square footage rolls up to the building name. I also have a drop down column that shows if the suite is occupied or vacant. I need a to calculate the…
Hi! I'm fairly new to SmartSheets but have been trying a number of things that havent yet worked. I want to be able to show for each parent row, the number of child rows completed as a %. So for the parent row Process Overview there are 7 tasks and 6 tasks are complete so I want it to show as 90%. Can anyone help me?