+ Reply to Thread
Results 1 to 13 of 13

Match function

  1. #1
    Registered User
    Join Date
    06-17-2014
    Location
    Singapore
    MS-Off Ver
    2013
    Posts
    16

    Match function

    Okay, I was trying to use an Offset function to locate a value, but it fails. Thus I check the formula and found the MATCH function doesn't return the location I want.

    Refer to the attached caption picture, I make Row33 to be +1 from Row32, when I use the MATCH function, I expect the return value to be 1 to 10 from cell C34 to L34, but it wasn't... can anyone explain this to me?

    I always lost when the data is not sort in order, or with a blank cell (="" or =" ") or an EMPTY cell, or duplicated data... I look for INDEX/OFFSET/MATCH combination but still, the answer always not there...


    Capture.PNG

  2. #2
    Forum Contributor
    Join Date
    01-03-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2016,Excel 2013
    Posts
    186

    Re: Match function

    Can you please upload your sample file in excel.
    Don't forget to rate 1 who helped u, using "Star"

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: Match function

    Post a spreadsheet not a picture.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Registered User
    Join Date
    06-17-2014
    Location
    Singapore
    MS-Off Ver
    2013
    Posts
    16

    Re: Match function

    Please refer to the attach file.
    1.xlsx

  5. #5
    Forum Contributor
    Join Date
    01-03-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2016,Excel 2013
    Posts
    186

    Re: Match function

    You are lookup value is not exactly the same as in your Table array. By omitting the match type,
    you are trying to identify the approximate match of your lookup value. Not sure what you are looking for.

  6. #6
    Registered User
    Join Date
    06-17-2014
    Location
    Singapore
    MS-Off Ver
    2013
    Posts
    16

    Re: Match function

    I am using an Index/Match but I simplified the problem.

    In actual, I am trying to check if my standard design size (table array) can fully utilize the space given (match value). Thus I need to use this function to find the largest value that is less than or equal to the match value.

  7. #7
    Forum Contributor
    Join Date
    01-03-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2016,Excel 2013
    Posts
    186

    Re: Match function

    I'm sorry mate, I'm still unable to understand what you are trying to do. What is the output you want to see?

  8. #8
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,373

    Re: Match function

    @csleong
    Maybe better if you describe the expected results in your file, the menber is confused when the description is unclear.

    Regards

  9. #9
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Match function

    Can you show on your spreadsheet what the expected result should be?
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  10. #10
    Registered User
    Join Date
    06-17-2014
    Location
    Singapore
    MS-Off Ver
    2013
    Posts
    16

    Re: Match function

    I re-write the excel, please take a lot. Thank you.

    2.xlsx

  11. #11
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Match function

    =MAX(INDEX(($B2:$K2<=B4)*$B2:$K2,))

    copy across

  12. #12
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,969

    Re: Match function

    Im not ssure I really understand what you want, but you left out the last argument in your MATCH....
    =INDEX($B$2:$K$2,MATCH(B4,$B$2:$K$2,1))

    The "1" tells it to look for a value less than
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  13. #13
    Registered User
    Join Date
    06-17-2014
    Location
    Singapore
    MS-Off Ver
    2013
    Posts
    16

    Re: Match function

    Thanks Teethless, that's the result I am looking for.

    However, I do not understand what's wrong with my equation, and too I not understand how Index(($B2:$K2<=B4)*$B2:$K2,) work? Just to learn.

    Also thanks everyone for helping me on this problem. I am really appreciate.

+ 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] Vlookup to Pivot Table, using Match function, returns error if can't find match value
    By AndrewHowarth in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-16-2015, 12:10 AM
  2. INSERT/MATCH Function - can I match and return more than a single result?
    By nickwee in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-24-2014, 06:02 AM
  3. Replies: 3
    Last Post: 06-17-2013, 12:37 PM
  4. Replies: 5
    Last Post: 10-26-2012, 02:21 PM
  5. Help on Application.worksheet.function.match / evaluate+match
    By vidyuthrajesh in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-12-2012, 04:30 PM

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