+ Reply to Thread
Results 1 to 4 of 4

INDEX, MATCH: I want to get the first cell address where value is >= 2

  1. #1
    Registered User
    Join Date
    01-26-2013
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    7

    Unhappy INDEX, MATCH: I want to get the first cell address where value is >= 2

    Hello All,

    For a range of values (e.g. A2:E2), I want to get the first cell address where value is greater than or equal to 2.

    I am able to use the formula "=INDEX($A1:$E1,MATCH(2,A3:E3,1))" which gives me the correct answer "B" for the 2nd row. But e.g. for 3rd row, the correct answer is also "B" but I get "C". I want to know how can I put condition ">=2" and not equal to 2?


    A B C D E Result
    1.434 2.016 2.825 4.393 6.916 A
    1 3 2 1 1 C

    Thanks so much.

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: INDEX, MATCH: I want to get the first cell address where value is >= 2

    Hi,

    Since your numbers are not necessarily in ranked order, you cannot use MATCH in this way. Try instead:

    =INDEX(A$1:E$1,MATCH(TRUE,INDEX(A2:E2>=2,,),0))

    P.S. Are you sure you are using $A1:$E1 and not A$1:E$1?

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    01-26-2013
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: INDEX, MATCH: I want to get the first cell address where value is >= 2

    Thanks so much XOR LX!! Now I understand how to use "Match" function for when I don't have sorted lists.

    Supercool! I appreciate your help a lot!!

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: INDEX, MATCH: I want to get the first cell address where value is >= 2

    You're welcome!

+ 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. Replies: 3
    Last Post: 05-08-2013, 02:10 PM
  2. [SOLVED] index match with row information offset from the match cell
    By smls in forum Excel General
    Replies: 7
    Last Post: 08-30-2012, 09:48 AM
  3. Match/Index array in VBA to return cell address
    By djhsickboy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-02-2011, 02:18 AM
  4. Lookup, index, match ,address ??????
    By James_C in forum Excel General
    Replies: 4
    Last Post: 07-31-2009, 09:06 AM
  5. Complicated Question involving INDEX, ADDRESS, MATCH, ROW, etc.
    By notthemonica in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-22-2007, 02:24 PM

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