Connect with peers, share your expertise, and inspire what’s next in Smartsheet — from proven practices to practical how-to insights from fellow users and product experts.
Sign in to join the conversation:
Is there a formula that allows me to count the number of columns in a sheet (to include in a sheet summary/)
Hi Jeff,
I might have an idea on how to solve it.
Can you describe your process in more detail and maybe share the sheet(s) or some screenshots? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help. (share too, andree@getdone.se)
I hope that helps!
Have a fantastic day!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
Counting the columns in the sheet would be as simple as adding in two helper columns. One on the far right and one on the far left. We will call the far left [First Column] and the far right [Last Column].
You could then use a formula along the lines of
=COUNTIFS([First Column]1:[Last Column]1, OR(NOT(ISBLANK(@cell)), ISBLANK(@cell))) - 2
.
As long as any columns are added between these two, your count will remain true. Once you have it set up, just hide the columns, and you will be good to go.
As for the Sheet Summary...
This will need to be counted manually. Unfortunately you cannot use Sheet Summary fields as ranges such as
[First Summary Field]#:[Last Summary Field]#.
It would be great if you could though. I personally can think of quite a few cases where this would be helpful.
Feel free to Submit a Product Enhancement Request.
Paul nailed it! That was my idea as well!
Haha. That was another case of us typing at the same time. When I first opened the post, there were no other comments. I do wish that we could use Summary Fields though. The potential uses for that are astounding!
Hi all - found this formula that helps and is amazing … HOWEVER, if any of the cells in the row you are counting contain error from a formula, it breaks the count. It worked like a charm on 4 out of 5 sheets, and then blamo, I got an INVALID VALUE return. Luckily I have a Smartsheet Wizard that I work with and he figured it out!
Not sure yet how to get past the error of the error, but if we figure it out, we'll share it here!
How do I see who submitted a form for a specific sheet?
Hi, I have a Gantt covering 500+ rows of events past and planned. I use it to predict and track values around these events. Using helper columns to identify the current week, I get an email report on a Monday that tells me the upcoming events in the current week (7 days) and their values. Currently if an event spans…
Hi Smartsheet Community, I'm working on an action management system where users create sub-actions through a Smartsheet Form. The requirement is simple: a sub-action's due date must be earlier than or equal to its parent action's due date. For example, if the parent action is due on June 30, 2027, users should not be able…