+ Reply to Thread
Results 1 to 14 of 14

How to use Variable Lookup_array with Xmatch formula, =XMATCH(Student_Name,$B$3:B216,0,-1)

  1. #1
    Registered User
    Join Date
    12-25-2022
    Location
    New Delhi
    MS-Off Ver
    365 Version 2105
    Posts
    7

    How to use Variable Lookup_array with Xmatch formula, =XMATCH(Student_Name,$B$3:B216,0,-1)

    I am using and excel to make student exam marks record to see progress, keeping latest three records, last record is perfectly shown using xmatch but second last or third last having error, excel consider first loocup_array reference only but i want all reference should be taken from last one using named range

    only one formula calculates all

    tired =XMATCH(Student_Name,$B$3:B216,0,-1)

    and

    =XMATCH(Student_Name,Latest_Marks,0,-1) but not works

    tired =XMATCH(Student_Name,$B$3:B216,0,-1)

    and

    =XMATCH(Student_Name,Latest_Marks,0,-1) but not works
    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,064

    Re: How to use Variable Lookup_array with Xmatch formula, =XMATCH(Student_Name,$B$3:B216,0

    One way:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

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

    Re: How to use Variable Lookup_array with Xmatch formula, =XMATCH(Student_Name,$B$3:B216,0

    This is much neater... I'm more awake...


    =LET(A,A3:A219,B,B3:B219,C,UNIQUE(B),HSTACK(C,DROP(REDUCE("",C,LAMBDA(x,y,VSTACK(x,TRANSPOSE(TAKE(SORT(FILTER(A,B=y),,-1),3))))),1)))
    Attached Files Attached Files

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,435

    Re: How to use Variable Lookup_array with Xmatch formula, =XMATCH(Student_Name,$B$3:B216,0

    Another way:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-25-2022
    Location
    New Delhi
    MS-Off Ver
    365 Version 2105
    Posts
    7

    Re: How to use Variable Lookup_array with Xmatch formula, =XMATCH(Student_Name,$B$3:B216,0

    Thanks for quick response, its working downloaded sheet solved by you

    but not working when I update any value in existing like student name in or marks

    can this be solved with Named Range as I am using another sheet to get data via Named ranged

    Thanks for your understanding

  6. #6
    Registered User
    Join Date
    12-25-2022
    Location
    New Delhi
    MS-Off Ver
    365 Version 2105
    Posts
    7

    Re: How to use Variable Lookup_array with Xmatch formula, =XMATCH(Student_Name,$B$3:B216,0

    Quote Originally Posted by HansDouwe View Post
    Another way:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Re: How to use Variable Lookup_array with Xmatch formula, =XMATCH(Student_Name,$B$3:B216,0
    Thanks for quick response, its working downloaded sheet solved by you

    but not working when I update any value in existing like student name in or marks

    all Result update with single #NAME?

    can this be solved with Named Range as I am using another sheet to get data via Named ranged

    the sheet will be updated everyday so required normal formula

    Thanks for your understanding

  7. #7
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,435

    Re: How to use Variable Lookup_array with Xmatch formula, =XMATCH(Student_Name,$B$3:B216,0

    Which Version of MS365 are you using (that are 4 digits, mostly starts with 22)

  8. #8
    Registered User
    Join Date
    12-25-2022
    Location
    New Delhi
    MS-Off Ver
    365 Version 2105
    Posts
    7

    Re: How to use Variable Lookup_array with Xmatch formula, =XMATCH(Student_Name,$B$3:B216,0

    Quote Originally Posted by HansDouwe View Post
    Which Version of MS365 are you using (that are 4 digits, mostly starts with 22)
    Version 2105 (Build 14026.20334)

  9. #9
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,435

    Re: How to use Variable Lookup_array with Xmatch formula, =XMATCH(Student_Name,$B$3:B216,0

    Your MS365 is too old, you need version 2203 or newer.

  10. #10
    Registered User
    Join Date
    12-25-2022
    Location
    New Delhi
    MS-Off Ver
    365 Version 2105
    Posts
    7

    Re: How to use Variable Lookup_array with Xmatch formula, =XMATCH(Student_Name,$B$3:B216,0

    Quote Originally Posted by HansDouwe View Post
    Your MS365 is too old, you need version 2203 or newer.
    is any other option which solve this problem using office 2016 or 2019 or 2105

    I understand you have given best formula which calculate all things using a single command

    is there any option we use different formulas for each column which refer previous result

    I understand you can as previous solution given in a while

  11. #11
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,435

    Re: How to use Variable Lookup_array with Xmatch formula, =XMATCH(Student_Name,$B$3:B216,0

    Using 365 Version 2105, please try in K3:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and in L3 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by HansDouwe; 12-25-2022 at 07:33 AM. Reason: added $ characters to the formula

  12. #12
    Registered User
    Join Date
    12-25-2022
    Location
    New Delhi
    MS-Off Ver
    365 Version 2105
    Posts
    7

    Thumbs up Re: How to use Variable Lookup_array with Xmatch formula, =XMATCH(Student_Name,$B$3:B216,0

    Quote Originally Posted by HansDouwe View Post
    Using 365 Version 2105, please try in K3:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and in L3 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thank You so much

    It's perfectly working and solve my all query; I know you can solve it as previous one also best but not works with me due to version issue

    current solution works on older version also


  13. #13
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,435

    Re: How to use Variable Lookup_array with Xmatch formula, =XMATCH(Student_Name,$B$3:B216,0

    Thanks for the feedback and glad to have helped.

    Please considder adding reputation to the answers of any helpers if you have appreciated the help and feel that the helpers have earned it.
    If you want to, click on *Add reputation at the bottom left of the answers.

    Happy holidays.

  14. #14
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,435

    Re: How to use Variable Lookup_array with Xmatch formula, =XMATCH(Student_Name,$B$3:B216,0

    Thanks for the rep .

+ 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] Replaced many VLOOKUPS with INDEX XMATCH now recalculating takes too long
    By Tech980 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-02-2022, 12:57 PM
  2. FILTER, XMATCH Formulas With Wildcard Text
    By DavidWally in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-04-2022, 06:57 PM
  3. [SOLVED] Dynamic formula range for SORTBY and INDEX/XMATCH into a pivot table
    By Bloodraven in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-01-2022, 08:14 AM
  4. [SOLVED] Replacing Choose function with Sequence Row & XMatch
    By paradise2sr in forum Excel General
    Replies: 8
    Last Post: 12-03-2021, 12:20 PM
  5. Replies: 14
    Last Post: 09-28-2019, 10:32 PM
  6. INDEX/MATCH with a variable MATCH lookup_array?
    By mrbusto71 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-22-2017, 03:27 PM
  7. How to deal with {=TABLE(A216,B216)}?
    By kirillk in forum Excel General
    Replies: 2
    Last Post: 08-04-2010, 11:57 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