+ Reply to Thread
Results 1 to 4 of 4

Parsing rows in one worksheet to generate one or several rows in another worksheet?

  1. #1
    Registered User
    Join Date
    01-15-2015
    Location
    Sweet Lake City
    MS-Off Ver
    2010
    Posts
    2

    Parsing rows in one worksheet to generate one or several rows in another worksheet?

    Hi,

    Does anyone have any suggestion how to parse rows in one worksheet to generate one or several rows in another worksheet?

    The first worksheet contains one column with a NAME plus several colums which are marked YES or NO.
    For each YES I need to generate a row that lists the NAME plus the name of the column (e.g. B).

    Example:

    Name A B C D E
    Jones YES NO NO YES YES
    Baker NO YES NO NO NO

    This should populate a worksheet with the following rows:

    Jones A
    Jones D
    Jones E
    Baker B


    Could anyone please tell me how to tackle this? It's been 15 years since I worked with VBA, so a bit of sample code would be absolutely great!

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,056

    Re: Parsing rows in one worksheet to generate one or several rows in another worksheet?

    Try:
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Registered User
    Join Date
    01-15-2015
    Location
    Sweet Lake City
    MS-Off Ver
    2010
    Posts
    2

    Re: Parsing rows in one worksheet to generate one or several rows in another worksheet?

    Wow, that was fast. Thank you Mumps1, I've got it working now. Just curious, turning off the screenupdating, is that for speed or are there other reasons to do this?

    regards,

    svliegen

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,056

    Re: Parsing rows in one worksheet to generate one or several rows in another worksheet?

    It speeds things up and prevents screen flicker.

+ 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. Replies: 3
    Last Post: 10-16-2012, 09:02 AM
  2. [SOLVED] Copy rows from my main worksheet to another worksheet based on data in one cell
    By gcol in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-08-2012, 05:12 AM
  3. [SOLVED] Copying selected cells from multiple rows and columns from worksheet to worksheet
    By janlindgren in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-25-2012, 02:58 AM
  4. Hide/Unhide Rows in One Worksheet Based on Values in Cells in Another Worksheet
    By xponent_es in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-27-2011, 03:26 PM
  5. Worksheet Parsing of Rows Based Upon Column Value
    By jim_w@sbcglobal.net in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-22-2005, 05:05 PM

Tags for this Thread

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