+ Reply to Thread
Results 1 to 7 of 7

Summary of Data

  1. #1
    Registered User
    Join Date
    11-25-2014
    Location
    Swindon, England
    MS-Off Ver
    2013
    Posts
    30

    Summary of Data

    I have a little problem writing a Macro to summarising in some date. PSA sheet.

    I have a sheet for data input, with my students' associated grade, timings and number of attempts relating to different tests they do in class.

    I would like to extract all student information and update the archive tab after running the macro to save me copying and pasting 30 students' data.

    Please note that the number of lessons will change depending on class, so the macro needs to run for each student from row 5 down until the first blank row. And the same until the next blank column.

    I would also like the indicator that the archive is complete.

    Really struggling here so please advise.
    Attached Files Attached Files

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,820

    Re: Summary of Data

    Make the DATASHEET sheet the active sheet and try this macro:
    Please Login or Register  to view this content.
    I'm not sure where the ID's come from so I didn't include them. Could you clarify?
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Summary of Data

    I moved the grad lookup to a separate sheet to "get it out of the way" when computing the last column. You are on your own to clear out Cell AC1 before loading new data.

    Just one question: your Excel version is later than 2003, so why are you still using XLS?
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  4. #4
    Registered User
    Join Date
    11-25-2014
    Location
    Swindon, England
    MS-Off Ver
    2013
    Posts
    30

    Re: Summary of Data

    Oh sweet thank you! this is almost perfect. The last thing I want it to do is to ignore missing records. I.e. if I have a student who misses lesson 1, I don't want any lesson 1 data to be summarised. However if they come to lesson 2 and obtain a score, then I want that to be summarised. Is there a way of missing a record if there is missing information in the G column of the active row for a student?

  5. #5
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Summary of Data

    So you do not want to archive a record if the Grade is blank; is this correct?

  6. #6
    Registered User
    Join Date
    11-25-2014
    Location
    Swindon, England
    MS-Off Ver
    2013
    Posts
    30

    Re: Summary of Data

    Correct. Say that student 2 missed lesson 1, I don't want a record for that in my archive. Essentially is any incomplete data for a lesson, I don't want it to archive.

  7. #7
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Summary of Data

    I did the modification. In the example student 1 will not have a record for lesson 4.

    I also added a check to see if cell AC1 has a yes in it already and asks you if you want to continue.
    Attached Files Attached Files

+ 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: 0
    Last Post: 09-15-2015, 03:08 PM
  2. Compare single data to summary data using pivot table?
    By mmclandy in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 05-19-2015, 02:21 PM
  3. Replies: 6
    Last Post: 06-05-2014, 04:40 AM
  4. Replies: 2
    Last Post: 06-21-2013, 07:23 AM
  5. [SOLVED] Populating data into a Summary tab using multiple data tabs
    By S1E in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-14-2013, 09:32 PM
  6. Create a summary from multiple sheets on a master/summary sheet
    By detribus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-07-2012, 08:04 PM
  7. Replies: 2
    Last Post: 02-27-2012, 10:45 PM

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