+ Reply to Thread
Results 1 to 5 of 5

Retrieve data from a cell based on date criteria in another

  1. #1
    Registered User
    Join Date
    02-22-2014
    Location
    Wgtn NZ
    MS-Off Ver
    Excel 2010
    Posts
    17

    Retrieve data from a cell based on date criteria in another

    In the attached spreadsheet I need a formula to extract the value from column C that matches the date in Column E where the date in column E is equal to or falls between the dates in Columns A and B.

    Apologies file now attached.
    Attached Files Attached Files
    Last edited by ajob; 02-22-2014 at 06:34 PM.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Retrieve data from a cell based on date criteria in another

    Don't see an attached file?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Retrieve data from a cell based on date criteria in another

    One way...

    Data Range
    A
    B
    C
    D
    E
    F
    1
    Data
    2
    Start Date
    End Date
    Value
    -----
    Date lookup
    Value
    3
    10/1/2014
    10/1/2014
    1.555
    10/1/2014
    1.555
    4
    10/2/2014
    10/2/2014
    1.558
    10/2/2014
    1.558
    5
    10/3/2014
    10/3/2014
    1.6
    10/3/2014
    1.6
    6
    10/4/2014
    10/7/2014
    1.665
    10/6/2014
    1.665
    7
    10/8/2014
    10/11/2014
    1.753
    10/9/2014
    1.753


    This array formula** entered in F3 and copied down:

    =INDEX(C$3:C$7,MATCH(1,IF(E3>=A$3:A$7,IF(E3<=B$3:B$7,1)),0))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

  4. #4
    Registered User
    Join Date
    02-22-2014
    Location
    Wgtn NZ
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Retrieve data from a cell based on date criteria in another

    Thanks that solved my issue. Appreciate the prompt reply.

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Retrieve data from a cell based on date criteria in another

    You're welcome. Thanks for the feedback!

+ 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. Data retrieve based on date
    By mahershams in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-18-2013, 10:29 AM
  2. Excel 2007 : Retrieve values based on multiple criteria
    By douglas77 in forum Excel General
    Replies: 0
    Last Post: 06-29-2011, 03:05 PM
  3. Data retrieve from different file based on date
    By littyjose in forum Excel General
    Replies: 1
    Last Post: 03-21-2007, 12:14 PM
  4. [SOLVED] QUICK HELP - Retrieve value based on two column criteria
    By jay in forum Excel General
    Replies: 1
    Last Post: 09-22-2005, 08:20 PM
  5. How do I retrieve a date in a column of dates which > my criteria
    By HNOWSKI in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-07-2005, 03:05 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