+ Reply to Thread
Results 1 to 7 of 7

Hi I need to figure out how to find the first date

  1. #1
    Registered User
    Join Date
    06-10-2005
    Location
    Oregon, USA
    Posts
    4

    Hi I need to figure out how to find the first date

    Hi everyone,

    I know you have the answer, thanks.

    I have a spread sheet with dates in one column that correspond to a value in another. Sometimes the dates are not there, for nothing was entered, or there are multiple dates of the same.

    I need to find the first date in the column and retrieve the other columns value or if it is not their go to the next available date and retrieve the value in the other column. Basically i am entering a beginning date and an ending date to retrieve info from those 2 dates. I can get the ending dates value just fine, VLOOKUP(U1,A:B,2,1) works great. It’s the beginning that has me stumped!

    Here is a sample:

    01/05/11 5
    01/05/11 67
    02/01/11 12
    02/02/11 4

    If I enter 01/07/11 it should give me 12
    if I enter 01/05/11 it should give me 5

    Thanks again
    cfi
    Last edited by cfiiland; 12-09-2011 at 07:05 PM.

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

    Re: Hi I need to figure out how to find the first date

    Hi cfi,

    What is the date format.. is it dd/mm/yy or mm/dd/yy?

    Regards,
    DILIPandey
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Hi I need to figure out how to find the first date

    Cfi
    adding your location to your info helps...

  4. #4
    Registered User
    Join Date
    06-10-2005
    Location
    Oregon, USA
    Posts
    4

    Re: Hi I need to figure out how to find the first date

    Hi DILIPandey,

    Sorry it mm/dd/yy.

    cfi

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

    Re: Hi I need to figure out how to find the first date

    Hi cfi,

    Assuming you have the data in column A & B and the testing date (01/07/2011 or 01/05/2011) in cell D2, use following formula to get the desired results-

    Please Login or Register  to view this content.
    Note:- Above is they array formula, hence needs to be entered using Ctrl+shift+Enter


    < Click on below star if this helps >

    Regards,
    DILIPandey

  6. #6
    Registered User
    Join Date
    06-10-2005
    Location
    Oregon, USA
    Posts
    4

    Re: Hi I need to figure out how to find the first date

    Hi DILIPandey,

    Works great. Thanks for your help. I was trying the index function to no avail. Thanks again.

    cfi

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

    Re: Hi I need to figure out how to find the first date

    You are welcome cfi...!!

    Cheers

    Regards,
    DILIPandey

+ 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