+ Reply to Thread
Results 1 to 4 of 4

Creating a Formula to Index/Match for Specific Data

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-13-2012
    Location
    Eagle River, Alaska
    MS-Off Ver
    Excel 2010
    Posts
    145

    Creating a Formula to Index/Match for Specific Data

    I have created a Excel table with Date, Miles Run, Min/Mile time (See attachment). I have built formulas to give me the fastest/slowest Min/Mile time along with the corresponding date and run distance. How do I restrict/modify the formulas to only capture the date and fastest/slowest time specifically for 6.5 mile runs? Thanks!
    Attached Files Attached Files

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Creating a Formula to Index/Match for Specific Data

    Try these array formulas and remember to confirm them with Ctrl+Shift+Enter

    For fastest record......

    Date:
    =INDEX($A$5:$A$16,MATCH(MIN(IF($B$5:$B$16=6.5,$C$5:$C$16)),$C$5:$C$16,0))
    Time:
    =MIN(IF($B$5:$B$16=6.5,C5:C16))
    For slowest record....

    Date:
    =INDEX($A$5:$A$16,MATCH(MAX(IF($B$5:$B$16=6.5,$C$5:$C$16)),$C$5:$C$16,0))
    Time:
    =MAX(IF($B$5:$B$16=6.5,$C$5:$C$16))
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Contributor
    Join Date
    05-13-2012
    Location
    Eagle River, Alaska
    MS-Off Ver
    Excel 2010
    Posts
    145

    Re: Creating a Formula to Index/Match for Specific Data

    Perfect!!! Many thanks!

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Creating a Formula to Index/Match for Specific Data

    Glad to help you. Thanks for the feedback.

+ 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] Help creating a formula that using If,index, match and displays only the newest dates...
    By JasonNeedsHelp in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-16-2013, 02:28 PM
  2. Replies: 3
    Last Post: 05-08-2013, 02:10 PM
  3. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  4. [SOLVED] VBA for creating Index-Match every 2 rows where INDEX refer to a different column per row
    By bisaya789 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-22-2012, 03:46 AM
  5. XML Data and Match/Index Formula
    By Skiracer65 in forum Excel General
    Replies: 4
    Last Post: 05-17-2010, 05:59 AM

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