Results 1 to 12 of 12

Locating data in a table

Threaded View

  1. #5
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Locating data in a table

    The Col_E values in your table are above and below 1000.
    If you want the data from the row where the Col_E value is "closest" to
    1000...even if it's larger than 1000.

    This formula finds that row
    F2: =MATCH(1,INDEX(--(ABS(1000-E2:E4501)=MIN(INDEX(ABS(1000-E2:E4501),0))),0),0)
    And this formula returns the Col_A data from that row
    G2: =INDEX(A2:A4501,$F2)
    Copy that formula across through K2

    BTW...these are the values from the row where the Col_E value is closest
    to 1000:
    G2: 11.213
    H2: 178.838
    I2: 0.263
    J2: 0.055
    K2: 999.985

    Does that help?
    Last edited by Ron Coderre; 10-24-2008 at 02:21 PM. Reason: Formula type....second F2 s/b G2
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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