Extract all values surrounding a special character

mvpromo

New Member
Joined
Apr 3, 2013
Messages
2
Hi Folks, -- I am pulling my hair out. I have an excel file that has the following in a cell:

15005~40450~STDREG07~40452~STDREG81~05989001~12102003~33083002~11939004

I need to extract these values surrounding the tilde (~). Does anybody have any bright ideas? I really don't want to go through 8000 lines of spreadsheet.

I am using Excel 2010

thanks!

Steve Jackson

<tbody>
</tbody>
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
That worked perfectly! Thanks. :) For those of you reading this post -- I put my columns on the end of my spreadsheet -- sine text to columns seemed to overwrite any adjacent columns. Other than that, It worked like a charm, and I had forgotten about how powerful text-to-columns really was.
 
Upvote 0
Glad to help.


Note, surely it gave you a popup warning before it actually overwrote adjescent columns.
Something like
"Do you want to replace the contents of the destination cells?"
With an option to choose OK or Cancel.
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top