+ Reply to Thread
Results 1 to 5 of 5

Transpose column to rows based on conditions

Hybrid View

thaykhov Transpose column to rows... 10-31-2013, 12:22 AM
jindon Re: Transpose column to rows... 10-31-2013, 12:56 AM
thaykhov Re: Transpose column to rows... 10-31-2013, 01:34 AM
jindon Re: Transpose column to rows... 10-31-2013, 02:02 AM
thaykhov Re: Transpose column to rows... 10-31-2013, 02:35 AM
  1. #1
    Registered User
    Join Date
    10-31-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    22

    Transpose column to rows based on conditions

    Hi All

    I am looking for a macros that will convert the following data into rows for me.

    Based on certain columns such as D. if there is a yes the it will populate with $100.
    Column E: if it is yes then $200

    It starts to get tricky in column H as it can be :RP,Data or empty, if it is empty the it's the same logic as no.

    In row D of the desired results, it is grabbing the header record from the original record.

    Please let me know if there are any additional information needed.

    Thanks

    Thay
    Attached Files Attached Files

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

    Re: Transpose column to rows based on conditions

    Not sure how you want to calculate "Amount".

    Try the attached
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    10-31-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: Transpose column to rows based on conditions

    wow that was fast.

    I have attached a new worksheet. Can you see if that can be done? Amount is fixed, that is it can change but it will have to be hardcoded in the vba for now. can this results get create in a new sheet.

    Much appreciated.

    Thay
    Attached Files Attached Files

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

    Re: Transpose column to rows based on conditions

    This should do.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-31-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: Transpose column to rows based on conditions

    That's amazing.

    Thank you for your help.

    Thay

+ 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. Transpose values from column to rows (one cell) with conditions
    By zeko90 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2013, 08:21 AM
  2. Replies: 3
    Last Post: 06-07-2013, 02:28 PM
  3. moving rows of cells into new column based on conditions
    By myjebay1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-15-2012, 04:36 PM
  4. Excel Transpose Column to Rows Based on Criteria
    By lilianphoebs in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-22-2011, 02:57 PM
  5. Excel Transpose Column to Rows Based on Criteria
    By lilianphoebs in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-14-2011, 10:49 AM

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