+ Reply to Thread
Results 1 to 3 of 3

Show value that corresponds to other value satisfying conditions

  1. #1
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Moscow
    MS-Off Ver
    Excel 2010
    Posts
    291

    Show value that corresponds to other value satisfying conditions

    Hi all! I need 1 formula, that will do:

    1. Find the earliest date from column A which will be greater than the date in D3

    3. Display the corresponding to this found date value from column c. That's all.

    The result in the follow example would be 0.98717401.

    ----A-------------B---------------C----------D------
    ---John---------value------------sum----------------
    1/1/2012----0.701536434-----1.688710444---2/14/12-
    2/15/2012---0.907412947-----0.98717401------------
    3/25/2012---0.079761063-----0.079761063-----------

    I thought of array formula but i cannot figure out how it should look. Thanks in advance.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Show value that corresponds to other value satisfying conditions

    Try this array formula:

    =INDEX($C$3:$C$5, MATCH(SMALL(IF($A$3:$A$5>D3, $A$3:$A$5), 1), $A$3:$A$5, 0))

    ...confirmed with CTRL-SHIFT-ENTER to activate the array in the middle.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Moscow
    MS-Off Ver
    Excel 2010
    Posts
    291

    Re: Show value that corresponds to other value satisfying conditions

    Thank you a lot. This is it!!

+ 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