+ Reply to Thread
Results 1 to 5 of 5

Returning Range of Student Names From a List? How to fix error?

  1. #1
    Registered User
    Join Date
    12-03-2018
    Location
    Newfoundland, Canada
    MS-Off Ver
    2019
    Posts
    7

    Returning Range of Student Names From a List? How to fix error?

    Hello;
    I am trying to return the range of names from a list (spreadsheet attached), I want the result of the name range b36-b51, the answer should be abby-Philpott. Last week I had it working, but only on the online version. Then it stopped working when I changed a student name as a test. Help with this is greatly appreciated, the fall semester is only 2 weeks away. Also, the version of excel is 2019 Windows;
    Thanks
    Sheldon
    Attached Files Attached Files

  2. #2
    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,869

    Re: Returning Range of Student Names From a List? How to fix error?

    Are you using Excel 365 or 2019?

    Remove the @ signs. This works:

    =XLOOKUP(SUM(B$11:B11)-B$11+1,studentNumbers,studentNames)&"-"&XLOOKUP(SUM(B$12:B12),studentNumbers,studentNames)

    BUT there is no XLOOKUP in Excel 2019, so it won't work there.
    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.

  3. #3
    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,869

    Re: Returning Range of Student Names From a List? How to fix error?

    For Excel 2019:

    =INDEX(studentNames,MATCH(SUM(B$11:B11)-B$11+1,studentNumbers,0))&"-"&INDEX(studentNames,MATCH(SUM(B$12:B12),studentNumbers,0))
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    12-03-2018
    Location
    Newfoundland, Canada
    MS-Off Ver
    2019
    Posts
    7

    Re: Returning Range of Student Names From a List? How to fix error?

    Thanks! This is going to save so much time this semester;
    Sheldon

  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,869

    Re: Returning Range of Student Names From a List? How to fix error?

    Glad to have helped.

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

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

+ 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. How to count rows of student names and produce a name range?
    By Sheldon709 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-09-2023, 11:19 AM
  2. Replies: 3
    Last Post: 03-14-2017, 01:48 PM
  3. Ranking and Returning A List Of Names If Certain Criteria Are Met
    By Xeba37 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-23-2016, 05:08 PM
  4. [SOLVED] Error Message on Cell References, Range Names, Defined Names, etc.
    By BLS99covert in forum Excel General
    Replies: 2
    Last Post: 12-29-2014, 05:37 PM
  5. Replies: 1
    Last Post: 02-06-2014, 08:07 AM
  6. [SOLVED] I need to compare student quiz submission names/grades against a master list of names.
    By NoxExcel in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-15-2013, 08:00 PM
  7. [SOLVED] Array formula, returning unique list of names w/ vlookup
    By BROWN_RY in forum Excel General
    Replies: 0
    Last Post: 03-29-2012, 04:31 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