+ Reply to Thread
Results 1 to 8 of 8

TEXT to Column

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    TEXT to Column

    Hello:

    Please refer to attached sheet.
    I need to do Text to Column.
    After studying the data, I came to the conclusion that if the space between the 2 data is 2 or greater
    then put the data in seperate column.

    Example:

    Line # 1
    DATE 12/10/2013 TUE

    Put
    DATE in Cell E1
    12/10/2013 in cell F1
    TUE in cell G1

    Line#2
    CONSOLIDATED (01) (02)
    Put
    CONSOLIDATED in cell E2
    (01) (02) in cell F2 (T

    here is only 1 space between (01) and (02)

    Line#10
    TAKE OUT 28 $214.11
    Put
    TAKE OUT in cell E10
    28 in cell F10
    $214.11 in F11

    I hope this is clear, please let me know if any questions.

    Thank you

    Riz Momin
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor xlbiznes's Avatar
    Join Date
    02-22-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2007
    Posts
    1,223

    Re: TEXT to Column

    Hi,

    Here is my solution. Hope this helps.
    Attached Files Attached Files
    Happy Computing ,

    Xlbiznes.

    To show your appreciation please click *

  3. #3
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: TEXT to Column

    Hello xlbiznes:

    This is excellent.
    However, I wonder if you help make a small change as below:
    When they is no data in 3rd column and have data in 2nd column, I would like to leave 2nd column blank and fill up
    3rd column with data.

    Example line # 7 and 8

    Column C D E
    TAX1 SALES $1243.69
    TAX1 $111.93

    In above data is in column C and D, change it to data in column C and E and column D blank.


    Please let me know if any questions.
    Once again thank you a bunch for your great help.

    Riz Momin

  4. #4
    Valued Forum Contributor xlbiznes's Avatar
    Join Date
    02-22-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2007
    Posts
    1,223

    Re: TEXT to Column

    Hi,

    What happens in this case :

    CONSOLIDATED (01) (02)

    Do we apply the same logic or only if the column 2 data is numeric ?

  5. #5
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: TEXT to Column

    Hello:

    Yes you are correct.

    Please let me if any further Q.

    Thank U

    RM

  6. #6
    Valued Forum Contributor xlbiznes's Avatar
    Join Date
    02-22-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2007
    Posts
    1,223

    Re: TEXT to Column

    @rizmomin,

    Here is the updated version.
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: TEXT to Column

    Hi xlbiznes:

    That works great.
    Thank you so much.

    Riz Momin

  8. #8
    Valued Forum Contributor xlbiznes's Avatar
    Join Date
    02-22-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2007
    Posts
    1,223

    Re: TEXT to Column

    You are welcome, glad i could help.

+ 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. VBA Code to Find Specified text within a Column and perform Text to Column
    By MHamid in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-26-2014, 06:42 AM
  2. Trying to write amacro to compare text in column A to garbage text in column B
    By Big Dawg Dad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-19-2013, 03:31 PM
  3. Lookup text in Column A in Column B and return text in Column A
    By roshnidutt in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-05-2013, 05:14 AM
  4. Replies: 1
    Last Post: 09-01-2011, 12:05 AM
  5. [SOLVED] Wrap text in column headers to fit text in column
    By MarkN in forum Excel General
    Replies: 10
    Last Post: 11-11-2005, 12:25 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