+ Reply to Thread
Results 1 to 11 of 11

Creating a list without duplicates from data on another sheet

  1. #1
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    279

    Creating a list without duplicates from data on another sheet

    Good evening,

    I have a spreadsheet that has a set of data on it and I need to create a list of names from that data. As long as the students have a "1" from any teacher on a given day their name appears on the list for that day. Even if they have more than one "1" they only appear on the list once.

    I have attached a sample worksheet.

    I need the simplest way to do this. I am not an excel guru so any help would be greatly appreciated.

    George
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    279

    Re: Creating a list without duplicates from data on another sheet

    Quite stuck here, hope someone can give me some guidance

    George

  3. #3
    Registered User
    Join Date
    03-04-2013
    Location
    Chantilly,VA
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Creating a list without duplicates from data on another sheet

    George,
    I do not know how to attach a document in this forum, I am new to the forum, otherwise I would have attached the solution sheet for you, sorry! But let me try to explain in text form below.

    Please try this in a "New List" sheet first.

    In the "New List" sheet

    1. For Monday in cell A3 enter the formula =IF(SUM(Data!C3:I3)>0,Data!$A3,"")
    2. For Tuesday in cell B3 enter the formula =IF(SUM(Data!J3:P3)>0,Data!$A3,"")
    3. For Wednesday in cell C3 enter the formula =IF(SUM(Data!J3:P3)>0,Data!$A3,"")
    4. For Thursday in cell D3 enter the formula =IF(SUM(Data!J3:P3)>0,Data!$A3,"")
    5. For Friday in cell E3 enter the formula =IF(SUM(Data!J3:P3)>0,Data!$A3,"")

    6. Now copy Row 3 down to however many students are there in the class (in this case up to row 30)

    You will see what you want to see however, the students will always appear on their own rows (i.e.: Student 7 will always be on Row 9, Student 13 will always be on row 15 and so on.)

    Is this too simplistic for you? If you really want to see the students neatly lined up like you showed on the "Lists" sheet in your Sample Data.xlsx file then I will have to do more work.

    Hope this will work for you.

    /el

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Creating a list without duplicates from data on another sheet

    Please see attached file
    Attached Files Attached Files
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: Creating a list without duplicates from data on another sheet

    Please check the files

    Hope it work


    Azumi
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    279

    Re: Creating a list without duplicates from data on another sheet

    Azumi

    I am unable to trasnfer your formula to the correct sheet and still have it work. I am going to attach the actual file. It will be the sheets labeled GR 7-8 homework (where data is stored) and sheet 1 (where the list needs to be created).

    I cannot for the life of me get this to work

    Just to recap what i am looking for: I have a spreadsheet that has a set of data on it and I need to create a list of names from that data. As long as the students have a "1" from any teacher on a given day their name appears on the list for that day. Even if they have more than one "1" they only appear on the list once.

    Thanks for all of your help

    George
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    03-04-2013
    Location
    Chantilly,VA
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Creating a list without duplicates from data on another sheet

    George,

    Did you try what I replied before:
    See the "sheet titled "New List" in the attached solution. Does that work for you?
    ===================================================
    Please try this in a "New List" sheet first.

    In the "New List" sheet

    1. For Monday in cell A3 enter the formula =IF(SUM(Data!C3:I3)>0,Data!$A3,"")
    2. For Tuesday in cell B3 enter the formula =IF(SUM(Data!J3:P3)>0,Data!$A3,"")
    3. For Wednesday in cell C3 enter the formula =IF(SUM(Data!J3:P3)>0,Data!$A3,"")
    4. For Thursday in cell D3 enter the formula =IF(SUM(Data!J3:P3)>0,Data!$A3,"")
    5. For Friday in cell E3 enter the formula =IF(SUM(Data!J3:P3)>0,Data!$A3,"")

    6. Now copy Row 3 down to however many students are there in the class (in this case up to row 30)

    You will see what you want to see however, the students will always appear on their own rows (i.e.: Student 7 will always be on Row 9, Student 13 will always be on row 15 and so on.)

    Is this too simplistic for you? If you really want to see the students neatly lined up like you showed on the "Lists" sheet in your Sample Data.xlsx file then I will have to do more work.

    Hope this will work for you.

    /el
    Attached Files Attached Files

  8. #8
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Creating a list without duplicates from data on another sheet

    Hi George,

    I have transplanted Azumi's formula to your new workbook. I was unable to test it since there is only one student that has 1 on GR 7-8 homework. I think it should work fine. If you to make any changes to the formula please remember that this an array formula and must entered for use Ctrl+Shift+Enter.
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    279

    Re: Creating a list without duplicates from data on another sheet

    el/ thanks for the input , I did look at it but i need the list condensed and with no spaces

  10. #10
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    279

    Re: Creating a list without duplicates from data on another sheet

    Alkey

    thank you thank you thank you!!!

  11. #11
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Creating a list without duplicates from data on another sheet

    You're welcome. Don't forget to thank those who helped by clicking on Add Reputation * and please mark thread as "Solved" if your issue has been resolved. (Selecting Thread Tools-> Mark 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] creating a second list without duplicates
    By jdeleon in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-16-2013, 03:56 PM
  2. [SOLVED] Creating a unique list from a list of duplicates
    By ssu in forum Excel Programming / VBA / Macros
    Replies: 38
    Last Post: 04-29-2013, 08:19 AM
  3. Replies: 2
    Last Post: 12-05-2012, 07:57 PM
  4. Replies: 2
    Last Post: 08-28-2012, 10:41 PM
  5. Creating a list and removing duplicates
    By JohnGuts in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-17-2007, 12:55 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