+ Reply to Thread
Results 1 to 13 of 13

Creating a Profile sheet from a Markbook Vlookup

  1. #1
    Registered User
    Join Date
    08-29-2022
    Location
    Rockhampton
    MS-Off Ver
    365
    Posts
    17

    Creating a Profile sheet from a Markbook Vlookup

    Hi everyone, I am trying to link a gradebook to a profile sheet (2 workbooks). I need to search a student name to then have it automatically input their results. I tried to simply do a Vlookup for the name in a cell search the workbook but I keep getting an error. It doesn't seem to matter if I change it to text, create an ISTEXT function or anything else, I keep getting no return.
    I am trying to lookup the name entered into the profile sheet workbook under student name and search for the result in MS Markbook (ORIGINAL).
    So if I entered James Bond into the profile sheet it would then prefill the SU result from the MS MARKBOOK, which is an A. But I am not getting that. I have tried a few different options which can be seen in the profile sheet, they are all searching for the same thing even though they are under different headings. If I can get one to work the rest will be the same but just different rows, but I can't even get one to work. any help is appreciated. Thank you.
    MS Markbook (ORIGINAL).xlsm
    Profile sheet.xlsx

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Creating a Profile sheet from a Markbook Vlookup

    You make it difficult to yourself to hide some columns.

    B6 =VLookup(B1,'[MS Markbook (ORIGINAL).xlsm]Markbook'!$D$4:$U$11,6,ONWAAR)


    Another Question => Why not all data in 1 workbook instead of in 2 workbooks. It will make it a lot easier to implement.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    08-29-2022
    Location
    Rockhampton
    MS-Off Ver
    365
    Posts
    17

    Re: Creating a Profile sheet from a Markbook Vlookup

    @oeldere The reason I am doing it in a different workbook is because there will be multiple sheets (1 for each student) and it would make the markbook too awkward.
    I tried to do the Vlookup in the same workbook and still got an error #N/A. I tried your code and still got an error #Name? I don't have any addittional spaces in the names, I checked that, I even tried typing the names rather than using concat.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Creating a Profile sheet from a Markbook Vlookup

    Try this one.

    B6 =VLookup(B1,'[MS Markbook (ORIGINAL).xlsm]Markbook'!$D$4:$U$11,6,FALSE)

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Creating a Profile sheet from a Markbook Vlookup

    Speaking as a teacher (been there, done that), I would definitely have the summary page in the master workbook. You only need one summary sheet with a drop-down box to select the student of interest.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Registered User
    Join Date
    08-29-2022
    Location
    Rockhampton
    MS-Off Ver
    365
    Posts
    17

    Re: Creating a Profile sheet from a Markbook Vlookup

    @oeldere thank you that works. But I wonder why it doesn't work when I select the cells from A4:U11? I even tried doing it on the main workbook and it kept giving me an error.

  7. #7
    Registered User
    Join Date
    08-29-2022
    Location
    Rockhampton
    MS-Off Ver
    365
    Posts
    17

    Re: Creating a Profile sheet from a Markbook Vlookup

    @AliGW I didn't even think of creating a drop-down box with the students names that would be a great idea also, I'll add that in. Maybe that will just solve everything. Drop-down and on the master copy, just click and print. I'll give that a go and try just changing the column to hopefully be able to select everything else that I need.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Creating a Profile sheet from a Markbook Vlookup

    Is your lookup value in column A and the result in column U? If so, the return column will not be 6.

    I think keeping it in one place is the better idea.

  9. #9
    Registered User
    Join Date
    08-29-2022
    Location
    Rockhampton
    MS-Off Ver
    365
    Posts
    17

    Re: Creating a Profile sheet from a Markbook Vlookup

    @AliGW no the A4:U11 is the table array in the vlookup. The code that works uses D4:U11 with column 6. When I change it to A4:U11 and column 9 it doesn't work. I tried 7-12 and it kept giving me an error. My original code was this
    =VLookup(B1,'[MS Markbook (ORIGINAL).xlsm]Markbook'!$A$4:$U$11,9,FALSE)
    But when I enter that in it doesn't work. But when I use the code from oeldere =VLookup(B1,'[MS Markbook (ORIGINAL).xlsm]Markbook'!$D$4:$U$11,6,FALSE) it works
    Last edited by mcgudo; 08-31-2022 at 07:47 AM.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Creating a Profile sheet from a Markbook Vlookup

    What is the error message?

  11. #11
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Creating a Profile sheet from a Markbook Vlookup

    You use VLookup and in that case the data wich needs to be found needs to be in the most left column.

    So you need to look in column D instead of column A.

    Otherwise you have to use index / match / match.


    Edit

    If you want to use column A then use the EQID in the destination sheet.
    Last edited by oeldere; 08-31-2022 at 11:50 AM.

  12. #12
    Registered User
    Join Date
    08-29-2022
    Location
    Rockhampton
    MS-Off Ver
    365
    Posts
    17

    Re: Creating a Profile sheet from a Markbook Vlookup

    @oeldere yea thank you I worked it out last night. I realised all I needed to do was switch the location of the names for it to work. I was like why does it work from here and not there. Thanks again.

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Creating a Profile sheet from a Markbook Vlookup

    VLOOKUP can be forced to work from right to left with a bit of tricery, but it's not worth it when there are easier options like INDEX MATCH and the new XLOOKUP.

+ 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] Pulling Data from 1 sheet or sheets to a master sheet(Profile sheet)
    By Majord89 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-09-2021, 09:35 AM
  2. Creating a custom 'S-Curve' based on existing profile.
    By SCurve1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-25-2019, 03:55 PM
  3. Creating a Work/Capacity profile chart for my department
    By jaywizz in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-20-2013, 07:20 PM
  4. Replies: 0
    Last Post: 10-01-2010, 04:22 PM
  5. Markbook Project help
    By clueless007 in forum Excel General
    Replies: 2
    Last Post: 01-13-2010, 02:58 PM
  6. Help needed with Markbook
    By Teacher in forum Excel General
    Replies: 1
    Last Post: 10-05-2009, 05:02 PM
  7. My markbook
    By Harry4265 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-29-2006, 04:40 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