+ Reply to Thread
Results 1 to 4 of 4

Creating a list dependent on cell contents within a row

  1. #1
    Registered User
    Join Date
    03-15-2013
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    5

    Creating a list dependent on cell contents within a row

    Good Evening,
    I am trying to create a revision list for pupils after they have sat their Maths mock just before half term. I have analysed every question for every pupil and now I want excel to identify which topics each pupil needs to work on.

    I want Excel to do this by looking up cells in in a row which contain an "i" (for incomplete or not attempted), a "0" (attempted but zero marks), or any question without full marks, prioritised in this order. Where excel finds any of these conditions I want it to display the topic (found in row 2 of the same column) in a cell on sheet 2. Obviously giving pupils a list of every single topic they got wrong in a test is demoralising so I only want an output of ten topics (so ten cells excel can output to).

    For Example,
    Pupil A got "i" in AA5, AC5, BA5, BB5 and BG5, so on sheet 2, in cells C5:G5, I want them to output the topics stated in AA2, AC2, BA2, BB2 and BG2.
    But I want ten targets, so now we have run out of "i" I want to look up "0". There are 6 cells which contain a 0 in row 5, at this point I don't care which topics are prioritised within the reds so any 5 of those 6 topics on sheet 2, H5:L5 need to be displayed.
    In this case we now have ten targets so pupil A is done, however if we only had 8/9 targets excel should then lookup any 1s, 2s ect until the 10 cells C5:H5 are filled.

    I feel that what I want to do goes well outside my excel know-how so a pointer in the right direction of what I should research into or a suggestion about how I could do it differently or even if you know exactly how to tackle my problem, any help would be much appreciated =)

    Please find attached a copy of my workbook paper analysis.xlsx

    Edit: ignore the "m" in the worksheet, it just stands for still to be marked. (didn't have a ruler or protractor until halfway through marking)
    Last edited by simpcrs; 10-29-2014 at 06:28 AM.

  2. #2
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Creating a list dependent on cell contents within a row

    Hi, Apply the below array formula in c5 and drag it down and across, Ref the attachment




    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Click just below left if it helps, Boo?ath?

  3. #3
    Registered User
    Join Date
    03-15-2013
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Creating a list dependent on cell contents within a row

    Oh wow!

    Thank you so much!

  4. #4
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Creating a list dependent on cell contents within a row

    Hi, Thanks for the feed back and rep

+ 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. Creating dependent lists on the first list
    By jvermillion in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-09-2013, 08:21 AM
  2. Creating a Dependent Validation List
    By cpalmer72 in forum Excel General
    Replies: 5
    Last Post: 01-31-2013, 12:38 PM
  3. Replies: 4
    Last Post: 03-15-2011, 10:56 AM
  4. Replies: 3
    Last Post: 01-31-2007, 03:34 PM
  5. creating dependent list boxes
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-29-2005, 05:06 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