+ Reply to Thread
Results 1 to 18 of 18

Equally divide address into two columns from single column

  1. #1
    Forum Contributor
    Join Date
    08-04-2016
    Location
    pakistan
    MS-Off Ver
    2010
    Posts
    225

    Equally divide address into two columns from single column

    Dear All,

    pl help to solve this, i have address in column D, i want split into 2 column in E and F.

    Adeel
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,099

    Re: Equally divide address into two columns from single column

    I do not see any pattern in the addresses that can help you. So i suspect that what you want is impossible. However, maybe there is a pattern, but since you have not shown us what your EXPECTED ANSWER is, we cannot tell. Excel can partse addresses, IF there is a pattern defining where the two halves of the address are. So. Is there a pattern? What are your expected results?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Contributor
    Join Date
    08-04-2016
    Location
    pakistan
    MS-Off Ver
    2010
    Posts
    225

    Re: Equally divide address into two columns from single column

    Dear Glenn Kennedy

    i have attached file for your reference with expected result in column E and F...

    Adeel
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,224

    Re: Equally divide address into two columns from single column

    There is no rationale in what you are showing that could be translated into the logic necessary for Excel to do this for you. It's going to have to be a manual job, I fear.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Contributor
    Join Date
    08-04-2016
    Location
    pakistan
    MS-Off Ver
    2010
    Posts
    225

    Re: Equally divide address into two columns from single column

    Dear AliGW
    is this possible that two formulas in E and F..??

    Adeel

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,099

    Re: Equally divide address into two columns from single column

    Agreed. There's no pattern that can be exploited. Sorry!!

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,099

    Re: Equally divide address into two columns from single column

    Adeel, in response to post 5. No. There is no pattern that determines where the split between address 1 and address 2 should be (full stop, dash, number of words, etc) that could then be used to split the string.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,224

    Re: Equally divide address into two columns from single column

    Quote Originally Posted by adeel1 View Post
    Dear AliGW
    is this possible that two formulas in E and F..??

    Adeel
    No, for the reason I have already stated.

    For Excel to be programmed to do this, there needs to be some sort of logical pattern or clear delimiter: in this case, there is neither.

    Sorry, but it's a manual job.

  9. #9
    Forum Contributor
    Join Date
    08-04-2016
    Location
    pakistan
    MS-Off Ver
    2010
    Posts
    225

    Re: Equally divide address into two columns from single column

    thanks both of you for guidance

    Adeel

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,224

    Re: Equally divide address into two columns from single column

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  11. #11
    Forum Contributor
    Join Date
    08-04-2016
    Location
    pakistan
    MS-Off Ver
    2010
    Posts
    225

    Re: Equally divide address into two columns from single column

    dear both
    can we insert the dashes or full stop after certain figure, like if i count the cell data with =len() and divide with 2 ,with resulted cells, such VBA or formula insert dashes or full stops accordingly, pl guide on this..

    Adeel

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,224

    Re: Equally divide address into two columns from single column

    Yes, you can do that with a formula, but why? You would end up with bits of addresses all over the place!

  13. #13
    Forum Contributor
    Join Date
    08-04-2016
    Location
    pakistan
    MS-Off Ver
    2010
    Posts
    225

    Re: Equally divide address into two columns from single column

    dear AliGW
    after inserting dashes or full stop than i will use the text to column method which fulfill the need(which split the data in 2 columns)

    Adeel

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,224

    Re: Equally divide address into two columns from single column

    Yes, that will work. Maybe use the | (pipe) symbol as the delimiter.

    But, to be honest, by the time you've gone through and added your delimiter, you might just as well have cut and pasted what you want into the separate columns.
    Last edited by AliGW; 02-16-2017 at 08:34 AM.

  15. #15
    Forum Contributor
    Join Date
    08-04-2016
    Location
    pakistan
    MS-Off Ver
    2010
    Posts
    225

    Re: Equally divide address into two columns from single column

    dear AliGW
    please can you make the formula in column F for me..

    ref to post 07 that should have some dashes or full stop for determine for split data


    Adeel
    Attached Files Attached Files
    Last edited by adeel1; 02-16-2017 at 08:43 AM.

  16. #16
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,224

    Re: Equally divide address into two columns from single column

    In E2, copied down:

    =LEFT(D2,LEN(D2)/2)

    In F2, copied down:

    =RIGHT(D2,LEN(D2)/2)

  17. #17
    Forum Contributor
    Join Date
    08-04-2016
    Location
    pakistan
    MS-Off Ver
    2010
    Posts
    225

    Re: Equally divide address into two columns from single column

    dear AliGW

    lot of thanks, this is as i want...great effort

    Adeel

  18. #18
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,224

    Re: Equally divide address into two columns from single column

    You're welcome!

+ 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. Is there a way to divide groups up equally?
    By taylorsm in forum Excel General
    Replies: 2
    Last Post: 05-27-2016, 10:46 AM
  2. Equally divide 0's and 1's in a Row of 8
    By Yash20 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-18-2015, 02:24 AM
  3. Divide dates equally in a time period
    By Thistledown in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-23-2014, 11:03 AM
  4. Converting a complete, single column address into separate columns for ADDRESS, CITY, ST,
    By jeffrogerssn in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-08-2012, 10:34 AM
  5. Divide cell amounts between cells equally
    By hotwoz in forum Excel General
    Replies: 6
    Last Post: 07-08-2011, 05:54 AM
  6. Divide Address into separate columns
    By Rob-ITMedia in forum Excel General
    Replies: 3
    Last Post: 06-17-2011, 01:55 AM
  7. divide address into 2 columns
    By buyahh72 in forum Excel General
    Replies: 3
    Last Post: 04-19-2011, 02:08 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