Count Cells that begin with a specific text
I wanted to COUNTIF the number of cells that start with specific four letters in a column of a reference sheet. I used the formula below and it returns zero.
=COUNTIF({Reference Sheet}, "ABCD")
Is there a formula to return the number of cells that have the first four letters as "ABCD"?
Best Answer
-
Try something like this...
=COUNTIFS({Reference Sheet}, LEFT(@cell, 4) = "ABCD")
Answers
-
Try something like this...
=COUNTIFS({Reference Sheet}, LEFT(@cell, 4) = "ABCD")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 58 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!