ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Split based on multiple criteria (https://www.excelbanter.com/excel-programming/389067-split-based-multiple-criteria.html)

ExcelMonkey

Split based on multiple criteria
 
I know I can use the split funciton to split a string based on an argument:

Split(string, "\")

Is it possible to split using multiple criteria? Say the multliple critera
was operators Split (sting,{(+,-,/,*^})

Thanks
EM

JE McGimpsey

Split based on multiple criteria
 
one way

Split(Replace(Replace(Replace(Replace(Replace(stri ng, _
"+", "\"), "-", "\"), "/", "\"), "*", "\"), "^", "\"), "\")


In article ,
ExcelMonkey wrote:

I know I can use the split funciton to split a string based on an argument:

Split(string, "\")

Is it possible to split using multiple criteria? Say the multliple critera
was operators Split (sting,{(+,-,/,*^})

Thanks
EM



All times are GMT +1. The time now is 10:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com