I'm constantly being given tasks to clean up massive amounts of data. I'm looking for simple or creative ways to find and either delete or replace things. And example would be
This comfortable wash-and-wear shirt is indispensable for the workday. Wrinkle resistance makes this shirt a cut above the competition so you and your staff can be, too.|| 4.5-ounce, 55/45 cotton/poly| Traditional, relaxed look| Open collar| Dyed-to-match buttons| Adjustable cuffs| Classic Navy and Light Stone have contrast inside neckband only.
I would be looking to delete the spaces after the pipe all in one action. Also since i may have 10,000 fields that may look like the ones above, some might end with a pipe, some not I'd like to eliminate a sting of data that ends in a pipe.
I would be grateful for any assistance you folks could offer!
You can use the TRIM function to remove extra spaces in a string.This comfortable wash-and-wear shirt is indispensable for the workday. Wrinkle resistance makes this shirt a cut above the competition so you and your staff can be, too.|| 4.5-ounce, 55/45 cotton/poly| Traditional, relaxed look| Open collar| Dyed-to-match buttons| Adjustable cuffs| Classic Navy and Light Stone have contrast inside neckband only.
=TRIM(A1)
Write your first formula, copy down, copy the column, then Edit > Paste Special > Values over the original data.
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
“None of us is as good as all of us” - Ray Kroc
“Actually, I *am* a rocket scientist.” - JB (little ones count!)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks