Help with IF formula
Hi there! Does anyone know if there is possible to extract a portion of a text in a cell? (to be specific, I only need to pull the first 5 characters from the left)
I currently have a formula to "map" a list of values (using IF function), but now we have added this long list of alphanumeric codes into the "ComponentID" column we need to identify them as "Assets"
This is what I have so far, and it is working but now I need to add to the function these codes.
Thanks in advance!
Best Answer
-
Hi @Xochitl C.,
Adding LEFT(ComponentID@row,5) to your formula in the appropriate place should help. The 5 is the number of characters to return (counting from the left).
Answers
-
Hi @Xochitl C.,
Adding LEFT(ComponentID@row,5) to your formula in the appropriate place should help. The 5 is the number of characters to return (counting from the left).
-
Thank you Philip!
-
Sorry again but I have #UNPARSEABLE error, any idea what am I doing wrong?
This is how I applied the formula:
=IF(CONTAINS("asset", LEFT(ComponentID@row, 5)), "ArtStation", Queue@row), IF(ComponentID@row = "linkCode", "Island", IF(ComponentID@row = "island_code", "Island", IF(ComponentID@row = "mod-text", "Text", IF(ComponentID@row = "edited_clip", "EditedClip", IF(ComponentID@row = "edited_video", "EditedVideo", IF(ComponentID@row = "level", "FG Maps", IF(ComponentID@row = "linkThumbnail", "FN Creator Pages", IF(ComponentID@row = "voice_chat_room", "VoiceChat"))))))))
As note, the inputs above with "ArtStation" are enter manual, that's why I need to get the correct formula :(
Thanks again!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!