+ Reply to Thread
Results 1 to 6 of 6

Extracting Data from A Master Spreadsheet.

  1. #1
    Registered User
    Join Date
    09-05-2018
    Location
    Leicestershire
    MS-Off Ver
    2013
    Posts
    3

    Extracting Data from A Master Spreadsheet.

    I have a table consisting of Student names (first column) and then several columns with subject titles. For each student (the row in my table) their subject grades are entered. A student will have a maximum of 4 entries so several columns for a given student are blank.

    I would like to generate a spreadsheet/report which has the name of the student and then itemises the subjects taken and the grade achieved e.g
    Name
    Fred Biology A Maths B Physics C
    Mary Maths B Physics C Geography B Electronics C
    Tom Maths A Politics C

    Can you help?
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,139

    Re: Extracting Data from A Master Spreadsheet.

    Your other post was closed. Try again...

    In B2:
    =IFERROR(INDEX('Master Data'!$1:$1,AGGREGATE(15,6,COLUMN('Master Data'!$B2:$I2)/('Master Data'!$B2:$I2<>""),1+INT(COLUMNS($A:A)/2))),"")

    In C2:
    =IFERROR(INDEX('Master Data'!$B2:$I2,MATCH(B2,'Master Data'!$B$1:$I$1,0)),"")

    Select B2 AND C2. Drag across and down.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Extracting Data from A Master Spreadsheet.

    Hi Stevie,

    If you have Microsoft Access, your problem becomes "How do I do a Crosstab Query". Read about them at:

    https://support.office.com/en-us/art...0-2CD8484667E8
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Extracting Data from A Master Spreadsheet.

    Hey Stevie,

    You can also do this problem using Power Query tool of "Pivot and don't Aggregate". You will need to install the Power Query Add-in to get the newer set of tools. I did change your original data to 3 columns of Name, Subject and Grade before I used PQ to get the attached answer.

    Exam Results 2018 Using PQ.xlsx

  5. #5
    Registered User
    Join Date
    09-05-2018
    Location
    Leicestershire
    MS-Off Ver
    2013
    Posts
    3

    Re: Extracting Data from A Master Spreadsheet.

    Dear All

    Many thanks for your suggestions; I now have a quick method to generate my report which has saved me a considerable amount of time.

    Thank you

    Steve

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,139

    Re: Extracting Data from A Master Spreadsheet.

    You're welcome.



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

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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] Extracting Data from Master sheet to sub sheets
    By kprabhupaul in forum Excel Programming / VBA / Macros
    Replies: 57
    Last Post: 08-01-2016, 07:53 AM
  2. Need help extracting data from multiple files into one master
    By brstrick in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-04-2015, 02:48 AM
  3. Extracting data from a master worksheet.
    By Searsc in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-14-2014, 05:43 PM
  4. Extracting Text From a Master Spreadsheet
    By Zachtastrophe in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-02-2014, 09:11 PM
  5. extracting data from a master list
    By indesh in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-29-2013, 12:35 AM
  6. extracting data from a master list
    By indesh in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-29-2013, 12:26 AM
  7. Replies: 2
    Last Post: 08-12-2011, 10:08 AM

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