+ Reply to Thread
Results 1 to 3 of 3

Find Number in Column

  1. #1
    Registered User
    Join Date
    01-22-2007
    Posts
    9

    Find Number in Column

    How do I get Excel to return the value of a cell which is the first value greater than another number?

    Ex.
    Column A
    1
    15
    67
    257
    384
    689
    1254

    Let's say cell B1 contains the number 115.

    I'd like Excel to tell me what number in Column A is the first number (down the column) greater than the number in B1 (should return 257). Also, can I get it to tell me in which row that number is located? (should return 4)

    Thanks!

  2. #2
    Registered User
    Join Date
    01-18-2004
    Posts
    15
    Try

    =OFFSET($A$1,MATCH(B1,A:A,1),0)
    and
    =MATCH(B1,A:A,1)+1

    hope it helps

  3. #3
    Registered User
    Join Date
    01-22-2007
    Posts
    9
    I had to modify it a bit, but it ultimately worked. Thanks!

+ Reply to Thread

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