Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, pleaseVisit the Current Forums.
Using "Contains" for Numbers
I'm attempting to filter a column with the following type of data:
10007789001
10007796003
10007789001
10007789002
10007801001
I tried to filter this column using "Contains" 7789. I expected every row with 10007789001 and 10007789002 would be shown. However, Smartsheet indicated that 0 rows met filter criteria. This doesn't sound like proper functionality. Can anyone assist?
Thanks
Comments
-
Dave B ✭✭✭✭✭
Chris,
I've seen some odd behavior like this as well. It doesn't seem to fail in all cases. I have several sheets where it works and some that don't. I can't figure out what makes it work or fail. Perhaps Travis will chime in and let us know.
Things I've tested:
手-typed numbers vs. linked vs. pasted vs. formula result.
Complete number strings vs. partial strings (as in your example)
Partial strings that start the string, are in the middle, or at the end
Alpha-numeric combinations
Again, in some sheets all of the above either work or fail and I cannot determine what causes it.
-
J. Craig Williams ✭✭✭✭✭✭
Chris,
If the system thinks that the information is a number, then you can't filter (I believe) on the digits in a number.
Without knowing your column structure, I would suggest adding a column and forcing the system to recognize the value as text and try the filter there.
=[Current Column]23 + ""
Craig
-
If you prefer to format a number as text - just place an apostrophe in front of the number to preserve it in its entirety.
Reference:http://help.smartsheet.com/customer/portal/articles/504619#text
-
Jeff K. ✭
Have you tried adding an asterisk before and after the number for your Contain field?
Ex: *7789*
-
Tried the asterisk. Doesn't work. Looks like I'll need to use the apostrophe prefix method. Bla.
Thanks everyone.
-
J. Craig Williams ✭✭✭✭✭✭
Travis,
Feature request to solve this:
Allow formatting of all numbers as text (in a column)
Allowing In a cell would lead to too many bug reports, I would imagine.
Only for Text/Number columns.
How would that prevent incrementing or other math formulas in the cell?
Hmm.
Craig
-
Travis Employee
Try changing your column type to a Contact List column (which will format the contents as text) then filter using Contains.
-
Travis Employee
Added your vote, Craig!
My suggestion above would be a workaround to your suggestion of a text only column. The Contact list will format its content as text but because this is text, the values will not work in a numeric formula unless you convert the value to a number using the VALUE() function.
-
Dave B ✭✭✭✭✭
+1 for filtering partial strings of anything, even forumla results.
Categories
=DATE(YEAR([Submission Date]@row) + IF(MONTH([Submission Date]@row) = 12, 1, 0), IF(MONTH([Submission Date]@row) = 12, 1, MONTH([Submission Date]@row) + 1), 7)<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]},{"discussionID":106193,"type":"question","name":"Multiple Forms, One Smartsheet","excerpt":"I created two identical forms (except for the name) and both of them populated into the same smartsheet. Is there a way to only see one form's submissions?","categoryID":321,"dateInserted":"2023-06-08T13:28:04+00:00","dateUpdated":null,"dateLastComment":"2023-06-08T13:47:26+00:00","insertUserID":152102,"insertUser":{"userID":152102,"name":"AllieB","url":"https:\/\/community.smartsheet.com\/profile\/AllieB","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-06-08T13:49:35+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":66106,"lastUser":{"userID":66106,"name":"Peggy Parchert","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Peggy%20Parchert","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/YYRDMWWFX83G\/nC7HLGW82ACPT.jpg","dateLastActive":"2023-06-08T16:12:58+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":8,"countViews":41,"score":null,"hot":3372467730,"url":"https:\/\/community.smartsheet.com\/discussion\/106193\/multiple-forms-one-smartsheet","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/106193\/multiple-forms-one-smartsheet","format":"Rich","lastPost":{"discussionID":106193,"commentID":379551,"name":"Re: Multiple Forms, One Smartsheet","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/379551#Comment_379551","dateInserted":"2023-06-08T13:47:26+00:00","insertUserID":66106,"insertUser":{"userID":66106,"name":"Peggy Parchert","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Peggy%20Parchert","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/YYRDMWWFX83G\/nC7HLGW82ACPT.jpg","dateLastActive":"2023-06-08T16:12:58+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Using Smartsheet","url":"https:\/\/community.smartsheet.com\/categories\/using-smartsheet"},{"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-06-08T13:46:06+00:00","dateAnswered":"2023-06-08T13:44:25+00:00","acceptedAnswers":[{"commentID":379548,"body":"