Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Multiple delimiters in SPLIT function, Google Sheets

I need help to divide the question available in cell A1 in Google Sheets using the SPLIT formula with the delimiters "a) ", "b) ", "c) ", "d) ", and "e) ", so that each cell of each of the subsequent columns contains an alternative, as in the example in the image below. Could someone help me, please? Thank you!

enter image description here

I tried using the expression =SPLIT(A1;"a) | b) | c) | d) | e)") and many other variations, but none were efficient for using multiple delimiters.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

https://docs.google.com/spreadsheets/d/1U9mDFnPKkGIxUQ7komK5Mzr0MBSITw6B2diNvs0BeE8/edit?usp=sharing

>Solution :

You can use REGEXEXTRACT, like this:

=REGEXEXTRACT(A1,"(.+\?) (a\).+) (b\).+) (c\).+) (d\).+) (e\).+)")
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading