+ Reply to Thread
Results 1 to 10 of 10

data without postcode

  1. #1
    Forum Contributor
    Join Date
    10-02-2012
    Location
    malaysia
    MS-Off Ver
    Excel 2016
    Posts
    140

    data without postcode

    Hi...

    I need help how to cut the entire column data from sheet 1 paste into sheet2 for those data without postcode

    the postcode can be in Mailing Address Line 1(column F) Mailing Address Line 2(column G) Mailing Address Line 3(column H) Mailing Address Line 4 (column I)

    if data have postcode then remain same at same sheet
    if data don't have postcode then put this data into sheet 2

    postcode number is 5 digit.

    I have attached sample data file..

    Thanks
    Raj
    Attached Files Attached Files

  2. #2
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: data without postcode

    Try

    Please Login or Register  to view this content.
    If you like my contribution click the star icon!

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: data without postcode

    Try this
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    10-02-2012
    Location
    malaysia
    MS-Off Ver
    Excel 2016
    Posts
    140

    Re: data without postcode

    I have another question based on the data which i have sent..
    Now i have the data with the same problem where without postcode move entire column from sheet1 to sheet2 but now it must base on code "4"

    in the data i have code "1","2","4" in column E

    code "4" is in column E where this code 4 address don't have postcode(from column F,G,H,I) move entire column from sheet1 to sheet2..

    I have attached sample file

    Thanks
    Raj
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: data without postcode

    I don't think what you are asking now is relevant to your original question and much easier.

    Use autofilter.

  6. #6
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: data without postcode

    same code but now only selecting rows with a value 4 in column E

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    10-02-2012
    Location
    malaysia
    MS-Off Ver
    Excel 2016
    Posts
    140

    Re: data without postcode

    Thanks it working ..
    but when i check in sheet2 there are some address with zipcode are in but this address with zipcode have "comma"(",")
    but address with zipcode but without comma but with space remain same in the sheet1

    The rest of program is perfect

    Thanks
    Raj

  8. #8
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: data without postcode

    Try this code

    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    10-02-2012
    Location
    malaysia
    MS-Off Ver
    Excel 2016
    Posts
    140

    Re: data without postcode

    Thanks..
    The problem solved ..
    Once again thank to you.. you are really great..

    I done this by manually but with your method it make me easy ..

    From
    Raj

  10. #10
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: data without postcode

    You are welcome.

+ 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