+ Reply to Thread
Results 1 to 7 of 7

Extract ordered values for multiple repetitions of an item?

  1. #1
    Registered User
    Join Date
    10-06-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    11

    Extract ordered values for multiple repetitions of an item?

    Hi all, does anyone have suggestions for a fast way to do the following:

    I have a series of spreadsheets. Each spreadsheet has data from the 10 min. that a student was allowed to repeatedly attempt a series of "9" questions (they could cycle through all "9" questions over and over in random order). I need to track how well they did across questions. So for example, given data:

    Q# -- CREDIT
    1 -- 20%
    5 -- 20%
    3 -- 20%
    4 -- 20%
    9 -- 20%
    2 -- 20%
    3 -- 20%
    6 -- 20%
    7 -- 20%
    8 -- 20%
    2 -- 50%
    3 -- 50%
    4 -- 50%
    5 -- 50%
    9 -- 50%
    8 -- 50%
    7 -- 50%
    6 -- 50%
    1 -- 50%
    3 -- 100%
    4 -- 100%
    9 -- 100%
    1 -- 100%

    I need to track their performance across multiple iterations of the same question, such as:

    For Q# 1, their performance was 20% on first attempt, 50% on second attempt, 100% on third attempt.

    For Q# 2, their performance was 20% on first attempt, 50% on second attempt.

    Please note that because there was a time limit and each student went at their own pace, the length of the spreadsheet differs per student and each item had differing numbers of attempts.

    Is there an efficient macro that I could run on each spreadsheet (running such a macro individually per spreadsheet is fine) to quickly get that data for all Q#s, and yield organized results (in particular, it would be great to easily know students' second-to-last score)? Note, for simplicity I listed 9 questions, when in fact there are 24. Thanks for any suggestions!

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Extract ordered values for multiple repetitions of an item?

    It really depends on how you get your data, the willing/ability to modify the data structure, and how you want the end result to look.

    One option would be to run a formula down column C (assuming that Q# is in column A and CREDIT is in column B).

    C2 =COUNTIF(A$2:A2,A2)

    This would return the attempt #. Then you can build a Pivot Table that shows the question #, attempt #, and score per attempt.
    See attachment.

    Note that it would be much better to put all of the data in the same worksheet having the following columns; name, Q#, Score, Attempt #.
    Then you can go wild with the analysis.

  3. #3
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Extract ordered values for multiple repetitions of an item?

    Depending on how your raw data looks, one idea is that you can just do a simple sort by question (data ribbon>Sort). This will group all the Question #s together in numerical order so you can see their progress.

  4. #4
    Registered User
    Join Date
    10-06-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Extract ordered values for multiple repetitions of an item?

    Thank you 63falcondude and dosydos for the excellent suggestions! I'm going to try them out!

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Extract ordered values for multiple repetitions of an item?

    Happy to help. Thanks for the rep!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  6. #6
    Registered User
    Join Date
    10-06-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Extract ordered values for multiple repetitions of an item?

    Quote Originally Posted by 63falcondude View Post
    Happy to help. Thanks for the rep!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    Using pivot tables and your example worked beautifully! Marking as SOLVED.

  7. #7
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Extract ordered values for multiple repetitions of an item?

    Great, thanks for coming back to let us know. Happy to help.

    Thanks again for the reps!

+ 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. Replies: 7
    Last Post: 12-07-2017, 05:34 PM
  2. Getting a ordered data table from a row one eliminating repetitions (lines)
    By VanniFucci in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-23-2017, 11:00 PM
  3. Number of repetitions in a collumn and counting those repetitions
    By ctrc in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-15-2017, 11:36 AM
  4. Showing the last date ordered for a particular item number
    By artner0112 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-18-2015, 03:16 AM
  5. Making a list of items, then showing the date the item was last ordered
    By dance in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-30-2014, 06:05 AM
  6. VBA Extract unique values depending on selected item in another column
    By DavidBW in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-08-2013, 05:30 AM
  7. Formula to return last date an item ordered
    By ExcelJunior in forum Excel General
    Replies: 6
    Last Post: 05-17-2011, 12:37 AM

Tags for this Thread

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