Results 1 to 11 of 11

Index/Match with 2 match columns, non-exact match

Threaded View

  1. #1
    Registered User
    Join Date
    01-24-2019
    Location
    USA
    MS-Off Ver
    Office 365 Ver 16.16.6 for Mac OS El Capitan Ver 10.11.6
    Posts
    7

    Question Index/Match with 2 match columns, non-exact match

    I have a very large sheet of stock data in the format attached.

    I'm trying to come up with formula to determine what date a stock hit a peak or valley, given the stock symbol, starting date, and a target peak or valley.

    For example, what was the first date that stock BBB hit a value of 311.50 or more if purchased on 1/7/19? The correct answer is 1/10/19.

    And, what was the first date that stock BBB hit a value of 299.50 or less if purchased on 1/9/19? The answer is 1/14/19.

    I need a solution that does not include any volatile functions such as VLOOKUP, OFFSET, INDIRECT. I'll be needing to run large Solver optimizations and can't have volatile functions slowing things down.

    We can use additional helper columns beyond Peak and Valley, such as concatenating Symbol and/or Date and/or Peak/Valley. I prefer helper columns because it makes formulas more understandable to other people, not to mention me down the road after I've forgotten how I built a formula.

    The data sheet can remain sorted.

    Many thanks in advance!
    Attached Files Attached Files
    Last edited by c1t; 01-24-2019 at 12:53 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Index Match Search Not Using Exact Match
    By amartin575 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 01-29-2018, 06:08 PM
  2. Replies: 4
    Last Post: 04-14-2017, 07:47 PM
  3. Using wildcards to get an exact match using vlookup or index and match
    By Martynw2005 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-15-2015, 09:56 PM
  4. INDEX MATCH MATCH/OFFSET MATCH MATCH with named ranges
    By Andrew-Mark in forum Excel General
    Replies: 3
    Last Post: 02-27-2015, 10:56 PM
  5. Replies: 3
    Last Post: 06-17-2013, 12:37 PM
  6. [SOLVED] Index & Match returning incorrect value. Arrays fixed and exact match used.
    By SDes in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-07-2012, 08:29 PM
  7. [SOLVED] Lookup or index match for "contains" rather than exact match -- find/search?
    By Excel@shoenfeltconsulting.com in forum Excel General
    Replies: 2
    Last Post: 07-02-2006, 05:50 PM

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