+ Reply to Thread
Results 1 to 4 of 4

format correction thru' formula

  1. #1
    Registered User
    Join Date
    11-28-2007
    Posts
    45

    format correction thru' formula

    Hi all, I have a problem with formating.. in A1 have two words, say "first" and "second" as two lines entered by pressing Alt+Enter after typing the first word. The requirement is remove this formating OR to get these two words separately in single cells. ie B1=First & C1=second ...Any help will be highly appreciated !! Thanks in advance !
    Last edited by prasjohn; 12-15-2009 at 02:03 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: format correction thru' formula

    Data > Text to columns, select Delimited, Next, tick Other and in the adjacent box, press and hold the Alt key, and on the NUMERIC keypad, type 0010, Finish
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: format correction thru' formula

    If your data is in A1, B1 can have =LEFT(A1,FIND(CHAR(10),A1)-1) and C1 can have =RIGHT(A1,LEN(A1)-LEN(B1)-1).

    You could also remove the breaks altogether by highlighting the column, doing a find/replace, hold ALT and type 0010 (or, if on a laptop, ALT + FN and 0010 on the keypad rather than the row of numbers at the top of the keyboard) and replace with a space or semicolon and then do text to columns with the replacement character as the delimiter.

    *Edit: interesting. Didn't know you could just do alternate characters in text to columns like that. Thanks, shg.

  4. #4
    Registered User
    Join Date
    11-28-2007
    Posts
    45

    Re: format correction thru' formula

    That was a real good one.. Thanks a lot !! it worked

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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