+ Reply to Thread
Results 1 to 2 of 2

Multiple lookup with with variable dates, convert to fixed series of dates

Hybrid View

  1. #1
    Registered User
    Join Date
    07-27-2011
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    16

    Multiple lookup with with variable dates, convert to fixed series of dates

    I have a database which has a date, item code, and price. I need to look at the price for any single item during the past twelve months. There are many months in which the price is not changed, so I can't use a simple pair of sumproducts (or at least I haven't figured out how to do that). I'm grateful for any ideas! I have attached a sample.
    Attached Files Attached Files

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Multiple lookup with with variable dates, convert to fixed series of dates

    Hi gren,

    You can use the below formula:-

    {=OFFSET($C$2,MAX(IF(($B$3:$B$12=$F3)*($A$3:$A$12<=E3),ROW($A$3:$A$12)-2,"")),0)}


    attachment:- sampleTwoItemLookupWithDates.xlsx

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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