Counting Quantities of Numbers
I am trying to build a column to count the # of times a predecessor appears in the predecessor column. The below formula has almost gotten me there, but it is also counting predecessor cells that include 1, but not exactly 1 (like 12, 21, 100, etc...)
=COUNTIF(Predecessors:Predecessors, FIND(1, @cell) > 0)
Is there any way to search for exactly 1, or perhaps another way to get my answer I'm not thinking of?
Thank you!
Jason Tarpinian - Sevan Technology
Smartsheet Aligned Partner
Comments
-
=COUNTIF(Predecessors:Predecessors, 1)
will return all cells in predecessors that are = 1
-
L@123,
That was my thought as well, but it only works if the predecessor 1 is the first of the predecessors.
Best,
Andrée
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.
-
=COUNT(COLLECT(Predecessors:Predecessors, Predecessors:Predecessors, 1))
guess that is why you test before you answer. the above seems to work
-
I got a Deja Vu moment!
I've been down this road before! I don't remember how/if we solved it.
Unfortunately, it didn't work (not for me anyway)
Best,
Andrée
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.
-
I've added another predecessor, and it won't work with multiple if it's not the first one.
Best,
Andrée
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.
-
Yeah if there are multiple predecessors on a single row a helper column is needed.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!