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!
I've got the following formula in a Check Box column to check when something is due in the Next 3 weeks. =IFERROR(IF(AND(WEEKNUMBER([Projected Cleaning Date]@row ) = WEEKNUMBER(TODAY()) + 3, YEAR([Projected Cleaning Date]@row ) = YEAR(TODAY())), 1), "") I have them for 2 weeks, 3 weeks, 4 weeks, and 5 weeks. These stopped…
I'm using salesforce connector to pull my team's hours information in real-time. The Salesforce connector sheet contains sheet summaries that I'd like to use a cell reference for a different sheet. I can't seem to find the best way or formula to do this. I don't want to use a dashboard with report widgets because I prefer…
I have two formulas which work well independently, but when I combine them they don't. formula 1: =IF(YEAR([Joined date]@row ) = 2025, JOIN(COLLECT({Membership Survey 2025 - Experience}, {Membership Prioritisation Survey 2025 - Org}, [Organisation name]@row ))) formula 2: =IF(YEAR([Joined date]@row ) < 2025,…