+ Reply to Thread
Results 1 to 8 of 8

Need Help with Index and Match formula, for cricket database spreadsheet.

  1. #1
    Registered User
    Join Date
    03-19-2019
    Location
    Riyadh
    MS-Off Ver
    2007
    Posts
    15

    Need Help with Index and Match formula, for cricket database spreadsheet.

    Hi guys,
    I am working on a cricket database spreadsheet. and i am facing a problem with index and match formula. please see the attched image you will understand. Excelforum help.JPG


    as you can see in the image. i am using =INDEX(J5:Y5,MATCH(F5,J5:Y5,0)-1) to get value of the left cell of maximum wickets. it works fine in most cases but where in multiple matches wickets are same and runs are value are diffrent then it grabs only the first value. i need it to grab the minimum runs value of the most wickets.

    hope i explained the problem clearly.

    i am using office 2007.
    Thanks
    Attached Files Attached Files
    Last edited by mudassardp; 08-18-2019 at 08:31 AM. Reason: Solved

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

    Re: Need Help with Index Match Max or offset formula

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    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
    Registered User
    Join Date
    03-19-2019
    Location
    Riyadh
    MS-Off Ver
    2007
    Posts
    15

    Re: Need Help with Index Match Max or offset formula

    Alright.
    Thanks

  4. #4
    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,779

    Re: Need Help with Index and Match formula, for cricket database spreadsheet.

    Better - thanks.

    Will you please attach a small sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment (it hasn't worked for years, and despite our repeatedly asking the technical team who own the forum to fix it, they can't be bothered to do so), so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.

  5. #5
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Need Help with Index and Match formula, for cricket database spreadsheet.

    May be : in "D4"
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    "F4"
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  6. #6
    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,779

    Re: Need Help with Index and Match formula, for cricket database spreadsheet.

    In D4:

    =MIN(IF($J$3:$X$3=$J$3,IF($K4:$Y4=$F4,$J4:$X4)))

    In F4:

    =MAX(IF($K$3:$Y$3=$K$3,$K4:$Y4))

    ... both confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Drag copy down.
    Attached Files Attached Files
    Last edited by AliGW; 08-18-2019 at 08:33 AM.

  7. #7
    Registered User
    Join Date
    03-19-2019
    Location
    Riyadh
    MS-Off Ver
    2007
    Posts
    15

    Re: Need Help with Index and Match formula, for cricket database spreadsheet.

    Thank you so Much. AliGW,
    this worked perfectly fine for me. i been trying to use Min. but i guess i was doing it the wrong way. Thanks again.
    Last edited by AliGW; 08-18-2019 at 08:34 AM. Reason: Please don't quote unnecessarily!

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

    Re: Need Help with Index and Match formula, for cricket database spreadsheet.

    No worries!

    When expanding, take particular note of the ranges - it won't work if you get this wrong, relatively speaking.

+ 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] Need Help with Index Match Max or offset formula
    By mudassardp in forum Excel General
    Replies: 8
    Last Post: 03-19-2019, 08:44 AM
  2. Offset/index/match formula for charts
    By mikehk in forum Excel General
    Replies: 3
    Last Post: 11-01-2018, 09:26 AM
  3. Convert Offset Formula into Non-Volatile (Index/Match)?
    By DrSues02 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-05-2018, 02:25 PM
  4. [SOLVED] Offset formula with Index and Match
    By kbiro in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-10-2015, 11:37 AM
  5. One formula using IF; ISERROR; INDEX; OFFSET; MATCH.
    By des333 in forum Excel General
    Replies: 9
    Last Post: 08-20-2015, 08:37 AM
  6. Need help with index, match, offset formula
    By soonernut96 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-18-2013, 09:16 PM
  7. Index, Match, Offset Formula
    By rhudgins in forum Excel General
    Replies: 2
    Last Post: 06-30-2010, 08:10 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