I have the following string in cell A1:
Color=red;Length=5;Description=fast,Depth=10;Width=3
The numerical values in the above-mentioned string can be any number of digits (but, practically speaking, limited to 7 digits).
For example, the string could just as easily be:
Color=red;Length=350;Description=fast,Depth=4;Width=19
The following formula allows me to extract the value for "Depth" if "Depth" is a single digit:
=MID(A1,FIND("Depth=",A1)+LEN("Depth="),1)
If "Depth" were 2 digits, then this formula would only return the first digit (because the value of LEN() is set to 1).
Without using Text to Columns, how would I extract the value of "Depth" if its value could be any number of digits?
Thanks!
Color=red;Length=5;Description=fast,Depth=10;Width=3
The numerical values in the above-mentioned string can be any number of digits (but, practically speaking, limited to 7 digits).
For example, the string could just as easily be:
Color=red;Length=350;Description=fast,Depth=4;Width=19
The following formula allows me to extract the value for "Depth" if "Depth" is a single digit:
=MID(A1,FIND("Depth=",A1)+LEN("Depth="),1)
If "Depth" were 2 digits, then this formula would only return the first digit (because the value of LEN() is set to 1).
Without using Text to Columns, how would I extract the value of "Depth" if its value could be any number of digits?
Thanks!