Trying to surround Text with other characters in sheets
Im trying to see if there is a way to surround text within one of my cells with asterisks on both sides "*". Im trying to accomplish this in a helper cell after submission within my form goes to a sheet. Similar to the function in excel- ="*"&A1&"*" but with "A1" being the cell I'm trying to surround with asterisks -[Request Number]@row
Not sure if this is possible in some way or is there a way to have my form submission auto put in asterisks on both side of my cells value
Answers
-
If I'm understanding correctly, I think this should work:
="*"+[Request Number]@row+"*"
-
@Grizz Use a "Request Number Helper" column in the form to collect the form response (you can change the label for this field on the form.) Then, in your sheet, in the Request Number column where you want the value to show with asterisks, use a formula there to add them:
="*" + [Request Number Helper]@row + "*"
Right click on the formula, then select "Convert to column formula" at the bottom of the menu. This will set the formula in that column for all existing rows and all new rows.
If you might have rows without a Request Number Helper value and don't want "empty" Request Numbers with just the two asterisks, throw this into an IF:
=IF([Request Number Helper]@row <> "", ("*" + [Request Number Helper]@row + "*"), "")
English: If the request number helper column on this row is not blank, set the Request Number value to the result of this formula; otherwise, leave the Request Number blank.
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 494 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!