+ Reply to Thread
Results 1 to 5 of 5

copy select columns instead of entire row if it meets specific criteria

  1. #1
    Registered User
    Join Date
    08-18-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    2

    copy select columns instead of entire row if it meets specific criteria

    Searching through other posts I found this coding which I have used to generate one kind of sheet I need

    Please Login or Register  to view this content.
    Now I'm hoping to use the same type of coding but rather than copying the entire row I want to copy only certain columns but not consecutive (ie. A-C and I-M)
    Any help/suggestions?

    Also just noticed it is printing all entries with value=1 and then the last row is one entry with value = 2, any help with that?

    Many Thanks
    Last edited by liz80; 08-18-2012 at 03:19 PM.

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: copy select columns instead of entire row if it meets specific criteria

    hi liz80, welcome to Excelforum, change this to copy columns I to M:

    Please Login or Register  to view this content.
    to this:

    Please Login or Register  to view this content.


    ---------- Post added at 12:33 PM ---------- Previous post was at 12:31 PM ----------

    to copy A-C and I-M change same line to:

    Please Login or Register  to view this content.

  3. #3
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: copy select columns instead of entire row if it meets specific criteria

    Hi Liz80,

    Try this:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  4. #4
    Registered User
    Join Date
    08-18-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: copy select columns instead of entire row if it meets specific criteria

    Solved - Thank you!

  5. #5
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: copy select columns instead of entire row if it meets specific criteria

    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)

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