+ Reply to Thread
Results 1 to 2 of 2

Return Corresponding Date of a Value in a Particular Month/Year

  1. #1
    Forum Contributor
    Join Date
    08-19-2009
    Location
    Netherlands, Amsterdam
    MS-Off Ver
    Excel 2010
    Posts
    585

    Return Corresponding Date of a Value in a Particular Month/Year

    Hello all,

    The following formula searches in range START!O7:O1500, for the value given in F27
    As a result it returns the date next to it in range START!D7:D1500
    It returns the first match it finds.

    Please Login or Register  to view this content.
    I'd like to add a second condition.
    Cell H5 contains a month number (like: 5 or 6 etc)
    Cell H6 contains a year number (like: 2012 or 2013 etc)
    Is it possible to to adjust the formula so it will return the first match in a particular month/year

  2. #2
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Return Corresponding Date of a Value in a Particular Month/Year

    Probably the easiest solution is not the prettiest. Create a helper column in your data table which is a concatenation of the data you want to search for. I assume there is a month and year in your big data table in the START sheet. I'll assume the Month is in P and the Year is in Q. I'll also assume the new column is Z. So, for example, in Z7 you would enter:
    =O7&P7&Q7
    you would drag that down to your last row (1500)
    then your equation would become:
    =INDEX(START!D7:D1500;MATCH(F27&H5&H6;START!Z7:Z1500;FALSE);1)
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

+ 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: 09-04-2013, 10:49 AM
  2. [SOLVED] Return Date as Month Name and Year in versions prior to 2007
    By PhatRam32 in forum Access Tables & Databases
    Replies: 2
    Last Post: 07-11-2013, 09:40 AM
  3. [SOLVED] Create Fiscal Year - Lookup Date in Fiscal Month Date Range and Return EOM Date
    By gbriscoe in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-25-2013, 03:29 PM
  4. [SOLVED] Function to Display Input Box, Retrieve Date, and Return Day, Month And Year
    By Authentik8 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-27-2012, 08:04 AM
  5. Alternative to IF and CONCENCATE to return a date as month and year
    By mrsgrumbert in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-16-2011, 01:21 AM

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