Counting Columns
Is there a formula that allows me to count the number of columns in a sheet (to include in a sheet summary/)
Comments
-
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
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
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!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
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!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 145 Just for fun
- 62 Community Job Board
- 464 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!