Formula to pull constant number string from variable text strings
Answers
-
My method using the MID function does work in a stepped fashion and can be used to find the first through the last instance without using the extra [N#] columns and without needing different formulas for different steps or referencing different cells. You only need to reference the multi-select cell with my formula. The formula in my post that you are referring to is actually specifically designed for a multi-select dropdown without any modification necessary other than specifying which instance you want to pull (1, 2, 1 / 2, 3, 2 / 3, 4, 3 / etc.).
Using my method means less unique cell references and as such should improve performance quite a bit since it cuts down on the number of needed columns in addition too the number of unique cell references.
-
@Lucas Rayala It isn't the SUBSTITUTE function that reorders the list. It is because a multi-select field is stored on the back end in alphabetical order. I will have to take a look through my notes to see how I got through this reliably, but I am fairly certain I usually end up converting it to a text string in a text/number column.
-
That makes sense! And that's actually a key reason to convert it prior to parsing it (if even just for clarity's sake). I've parsed these straight from the list before using a CHAR(10) as part of the FIND criteria and the results always came through a little wonky because they weren't in the order I was expecting. It's too bad you can't keep that original order -- I don't seem to see a way, anyway. Even simply reflecting a list, =list@row, puts them in alpha-numeric order.
-
@Lucas Rayala I have always made sure my column properties had the various options listed in alpha-numeric order anyway. Haha. I have only run into it a few times where I had to work with a client created list in the order they wanted.
-
I sometimes have large lists, of which only 2 or 3 items are chosen on a regular basis. In those instance, I usually add those two items to the top (as well as the general list). That makes it easier for the user to grab what they need. I think that's why I've run into this.
-
@Lucas Rayala That makes sense. Usually in those cases I will start them out with a letter or number such as as "01. Option C", "02. Option E", "03. Option A", so on and so forth, but of course that's not always the preference.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!