+ Reply to Thread
Results 1 to 6 of 6

Data cleansing to remove blank space and "|"

  1. #1
    Forum Contributor
    Join Date
    06-24-2012
    Location
    Australia
    MS-Off Ver
    Office365
    Posts
    302

    Data cleansing to remove blank space and "|"

    Hi Experts,

    Following raw- data in Excel 2010 running over thousands of rows, but in one cell only ( A1, A2,A3, and so on)
    I need to put in useful tables for purpose. If I use command/text to column/delimited it works and remove using find/replace command to get rid of "|".
    Issue I face is for Email. Because of blank space left after end of email address up to "|" , see below. How do I get rid of it ?
    It is observed that "Underline" in the email-address remains extended up to deleted "|"


    0345333|REEM FLOYED |FLINT TRAVEL BUILDING, |GROUND FLOOR, 529 TOORAK ROAD |TOORAK |3242 |Victoria |Australia |9783 6366 ||[email protected] |


    Any suggestion is welcomed,

    Karnik

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Data cleansing to remove blank space and "|"

    Hi,

    Do a find for Space and replace with Null first, then do the TextToColumns with the | as the delimiter.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Data cleansing to remove blank space and "|"

    how are you doing text to column? by delimiter "|"?
    so in your example you have ten fields?
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Data cleansing to remove blank space and "|"

    maybe this:
    Please Login or Register  to view this content.
    and after you can use Text2Columns with space delimiter

  5. #5
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Data cleansing to remove blank space and "|"

    Hello Karnik,

    I assume you are using the pipe symbol (|) for Text to Column conversion.

    You mention Find & Replace - I suggest you use it, but Find " |" and Replace with "|".
    That is to say, search for SPACE + |. This will get rid of all the unwanted spaces at the end of "fields".

    Then do your usual thing.

    I hope this helps, please let me know!

    Regards,

    David


    - Please click on the *Add Reputation button at the bottom of helpful responses.

    Please mark your thread as SOLVED:
    - Click Thread Tools above your first post, select "Mark your thread as Solved".


  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Data cleansing to remove blank space and "|"

    Glad to have helped and thanks for the rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 10-30-2013, 01:58 PM
  2. [SOLVED] Remove "white space"
    By jhren in forum Excel General
    Replies: 6
    Last Post: 06-17-2013, 03:29 PM
  3. Unable to remove the "space" at the end of text in a cell
    By jhiltabidel in forum Excel General
    Replies: 4
    Last Post: 03-27-2013, 02:15 PM
  4. [SOLVED] How to remove all Zero"0" & space from left side
    By nur2544 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-01-2013, 05:37 AM
  5. Replies: 3
    Last Post: 02-16-2011, 02:55 PM
  6. How to remove a space before the "=" sign and make the formula works properly?
    By Leosado in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-19-2010, 03:05 PM
  7. Remove space and "-" character
    By thanhnguyen in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-04-2006, 11:50 PM
  8. Remove "Alt Enter" blank space
    By crapit in forum Excel General
    Replies: 6
    Last Post: 03-10-2005, 11:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1