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
- 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!