+ Reply to Thread
Results 1 to 4 of 4

Multiple rows that share the same key, but have multiple criteria move to one row only.

  1. #1
    Registered User
    Join Date
    03-05-2014
    Location
    Salem, OR
    MS-Off Ver
    Excel 2010
    Posts
    2

    Multiple rows that share the same key, but have multiple criteria move to one row only.

    Any help would be appreciated. I'm an excel beginner and would love some feedback. Thank you.

    Example of how my results currently display :

    Col A Col B Col C Col D
    123 John Smith Home 999
    123 John Smith Auto 998
    223 Sara Miller Home 825
    223 Sara Miller Auto 824
    223 Sara Miller Farm 823
    424 Steve Bee Home 727
    324 Jill John Home 543
    324 Jill John Auto 542
    324 Jill John Farm 541


    Goal of how I want my results to display:
    Col A Col B Col C Col D Col E Col F Col G Col H
    123 John Smith Home 999 Auto 998
    223 Sara Miller Home 825 Auto 824 Farm 823
    424 Steve Bee Home 727
    324 Jill John Home 543 Auto 542 Farm 541

    I think I need a formula that moves my data that if there is more than one same record for Col A and Col B, then the data for the second same or greater records moves from Col C and Col D to Col E, Col F, Col G, Col H, etc...

    hmm..... I'm in over my head, but I know there's a better way Thank you.
    Attached Images Attached Images

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Multiple rows that share the same key, but have multiple criteria move to one row only

    If I were setting this up I would do it like this:

    Data Range
    A
    B
    C
    D
    E
    1
    Name
    Policy
    Home
    Auto
    Farm
    2
    John Smith
    123
    999
    998
    3
    Sara Miller
    223
    825
    824
    823
    4
    Steve Bee
    424
    727
    5
    Jill John
    324
    543
    542
    541
    Last edited by Tony Valko; 03-28-2014 at 06:56 PM.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    03-05-2014
    Location
    Salem, OR
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Multiple rows that share the same key, but have multiple criteria move to one row only

    Thank you Tony. I will give this a go, much appreciated for your time Have a great weekend.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Multiple rows that share the same key, but have multiple criteria move to one row only

    You're welcome. Thanks for the feedback!


    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.

+ 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. [SOLVED] Macros To Move Multiple Rows To Another Sheet And Macro To Move Single Rows To DAX Table
    By jcaynes in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-22-2013, 05:08 PM
  2. Replies: 1
    Last Post: 04-05-2012, 07:48 PM
  3. Macro to move cell contents of multiple rows into one if criteria is met
    By citygov in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-08-2012, 05:32 PM
  4. Replies: 1
    Last Post: 05-18-2009, 11:21 AM
  5. Count Multiple Entries, Return Multiple Rows, Based On 3 Criteria
    By gtj_global in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-20-2008, 06:40 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