How to include double quotes in the output of a text formula
I am trying to combine several text elements into an image attribution for each row on my sheet. Here's my formula:
="American Society for Microbiology " + Category1 + ". " + Title1 + ", " + SubmitterFirstName1 + " " + SubmitterLastName1 + IF(ISBLANK([Co-creator #1, Name]1), "", ", " + [Co-creator #1, Name]1) + IF(ISBLANK([Co-creator #2, Name]1), "", ", " + [Co-creator #2, Name]1) + IF(ISBLANK([Co-creator #3, Name]1), "", ", " + [Co-creator #3, Name]1) + IF(ISBLANK([Co-creator #4, Name]1), ".", ", " + [Co-creator #4, Name]1 + ".")
My question is, how do I put the title of the piece (which is in bold in the formula above) in quotes in the final string? In Excel, I would use CHAR(34), but that doesn't seem to exist in Smartsheet. I've even tried adding the double quotes in Excel and then pasting it into Smartsheet, but SS strips out the quotes! So annoying.
Comments
-
" ' ' "
Use a double quote two single quotes and another double quote all smashed together so it looks like this
"''"
-
That's what I would suggest. Changing
....+ ". " + Title1 + ", "....
to
.... + ". " + "''" + Title1 + "''" + ", "....
should do the trick.
-
You actually add a backslash before the double quote: ="\"" + Title1 + "\""
-
CHAR and UNICHAR functions are also now available, so you should be able to follow what you said in your original post of using CHAR(34).
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!