+ Reply to Thread
Results 1 to 5 of 5

Consolidating rows

  1. #1
    Registered User
    Join Date
    12-01-2016
    Location
    Denver
    MS-Off Ver
    Mac 2011
    Posts
    10

    Consolidating rows

    I have a sheet with various test data from students who have taken parts of the test at different times. Each result is its own row, but I need all results on the same row. Is there a formula or function to complete this to prevent having to go through the whole sheet and retyping.

    For example

    Currently, I get:

    ID Last First RC SS Art EA CM
    1 Student1 a 110 52
    1 Student1 a 99 106
    2 Student 2 b 54 42 29 31
    3 Student 3 c 29 38
    4 Student 4 d 29 44
    4 Student 4 d 66 36
    5 Student 5 e 41 64 25 37
    6 Student 6 f 79 43
    6 Student 6 f 68 55

    I need to get:

    ID Last First RC SS Art EA CM
    1 Student1 a 99 106 110 52
    2 Student 2 b 54 42 29 31
    3 Student 3 c 29 38
    4 Student 4 d 29 66 36 44
    5 Student 5 e 41 64 25 37
    6 Student 6 f 68 55 79 43

    Sample sheet attached.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Consolidating rows

    Try the following formula in M3, then fill down and fill right:

    =IF(SUMIF($A$3:$A$11,$J3,D$3:D$11)=0,"",SUMIF($A$3:$A$11,$J3,D$3:D$11))
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    12-01-2016
    Location
    Denver
    MS-Off Ver
    Mac 2011
    Posts
    10

    Re: Consolidating rows

    Quote Originally Posted by cantosh View Post
    Try the following formula in M3, then fill down and fill right:

    =IF(SUMIF($A$3:$A$11,$J3,D$3:D$11)=0,"",SUMIF($A$3:$A$11,$J3,D$3:D$11))
    Thank you so much; saved me hours of hunting and typing. This seems to have solved the issue after I copied and pasted id, first name, last name, and remove duplicates.

  4. #4
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Consolidating rows

    Glad to help, good luck!

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Consolidating rows

    If you would like a formula solution for the unique ID Last and First parts array enter this in J3 fill down and across column L. If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

+ 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. consolidating rows
    By jeck876 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-28-2015, 02:05 PM
  2. Consolidating rows
    By mp2 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-03-2013, 04:52 PM
  3. Consolidating Rows
    By brcaston in forum Excel General
    Replies: 5
    Last Post: 06-24-2010, 01:31 PM
  4. Help with consolidating many rows into one
    By lax in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2009, 04:54 PM
  5. Consolidating rows
    By Sir08 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-19-2008, 08:46 AM
  6. Consolidating Rows
    By motofabio in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-05-2007, 07:52 AM
  7. Consolidating Rows
    By Jason in forum Excel General
    Replies: 2
    Last Post: 07-25-2006, 09: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