+ Reply to Thread
Results 1 to 5 of 5

How to seprate address

  1. #1
    Valued Forum Contributor mohan.r1980's Avatar
    Join Date
    09-18-2010
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2010 (windows7)
    Posts
    729

    How to seprate address

    Hello Friends,

    I received a file where address are merge. which i want to break in such a way that,
    Please see the below that actual data receive:
    Please Login or Register  to view this content.
    i just want to break it like Add1=First Line of Address, Add2=Second Line of Address, Add3=Third Line of address.

    Please suggest me
    Last edited by mohan.r1980; 07-04-2014 at 09:01 AM.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: How to seprate address

    Try

    =MID($A$1&"^",FIND("^",SUBSTITUTE($A$1&"^",CHAR(10),"^",ROW(A1))),FIND("^",SUBSTITUTE($A$1&"^",CHAR(10),"^",ROW(A2)))-LEN(LEFT($A$1,FIND("^",SUBSTITUTE($A$1&"^",CHAR(10),"^",ROW(A1))))))

    Copy down
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Valued Forum Contributor mohan.r1980's Avatar
    Join Date
    09-18-2010
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2010 (windows7)
    Posts
    729

    Re: How to seprate address

    Thanks for quick reply

    I want B1 as add1, C1 as add2, D1 as Add3 and so on
    when i paste this formula in B1 then formula skip the first line it start from second line.
    Please sugges me

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: How to seprate address

    In b1
    =LEFT($A$1&"^",FIND("^",SUBSTITUTE($A$1&"^",CHAR(10),"^",COLUMN(A1))))

    In c1
    =MID($A$1&"^",FIND("^",SUBSTITUTE($A$1&"^",CHAR(10),"^",COLUMN(A1))),FIND("^",SUBSTITUTE($A$1&"^",CHAR(10),"^",COLUMN(B1)))-LEN(LEFT($A$1,FIND("^",SUBSTITUTE($A$1&"^",CHAR(10),"^",COLUMN(A1))))))
    Copy across

  5. #5
    Valued Forum Contributor mohan.r1980's Avatar
    Join Date
    09-18-2010
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2010 (windows7)
    Posts
    729

    Re: How to seprate address

    waw!!!!!!!!
    its working fine
    thanks a lot

+ 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. Outlook will not allow me to enter an address
    By cheddarthief in forum Outlook Formatting & Functions
    Replies: 0
    Last Post: 11-12-2012, 04:37 PM
  2. Run Macro on Enter Key if Address = A1
    By carsto in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-10-2011, 05:45 PM
  3. How to enter a long address to new web query
    By Pivotrend in forum Excel General
    Replies: 4
    Last Post: 09-02-2005, 06:36 AM
  4. Can I enter a formula using data from cells in seprate worksheets
    By Brannon in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-10-2005, 05:06 PM
  5. Enter last name, auto fill full name & address--HOW?
    By ana maria in forum Excel General
    Replies: 3
    Last Post: 02-25-2005, 06:06 PM

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