+ Reply to Thread
Results 1 to 5 of 5

Thread: Vlookup to find first date of number of dates and return matching value

  1. #1
    Registered User
    Join Date
    02-03-2011
    Location
    Galway, Ireland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Vlookup to find first date of number of dates and return matching value

    Hi Wise Ones

    I just want to check my understanding of this...

    I have a list of balances on one sheet(Balances). On another workbook (First Balance) I have dates e.g. 1/2/2011 want to use a vlookup to look for the date e.g. 1/2/2011, then go to Balances and find the FIRST balance it finds there and return it i.e. the answer should be 23000.

    1/2/2011 230000
    1/2/2011 125000
    1/2/2011 189000

    Is it enough just to specify false at the end of the Vlookup to get this answer?

    Thanks...
    Anne
    Last edited by abalserv_G; 02-11-2011 at 08:00 AM. Reason: Got it sorted...

  2. #2
    Registered User
    Join Date
    10-05-2010
    Location
    S.A
    MS-Off Ver
    Excel 2007
    Posts
    99

    Re: Vlookup to find first date of number of dates and return matching value

    hi
    supposing your list of balances in sheet1 - col A&B
    date is in sheet2 col A (could be in another workbook)
    in sheet 2 col B write this code:
    =VLOOKUP(A1,Sheet1!A:B,2,FALSE)
    then you can drag down it down
    hopefully that will help

  3. #3
    Registered User
    Join Date
    02-03-2011
    Location
    Galway, Ireland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Vlookup to find first date of number of dates and return matching value

    Quote Originally Posted by noexcel=badwork View Post
    hi
    supposing your list of balances in sheet1 - col A&B
    date is in sheet2 col A (could be in another workbook)
    in sheet 2 col B write this code:
    =VLOOKUP(A1,Sheet1!A:B,2,FALSE)
    then you can drag down it down
    hopefully that will help
    t

    Hi I have tried that and the A:B bit doesn't work for me..so I've just put in the actuaI range, and I've actually found that when I put FALSE at the end Excel will return the first balance for the matching date and if I omit false...it will return the matching balance for the last date.

    Thanks for your help!

  4. #4
    Registered User
    Join Date
    10-05-2010
    Location
    S.A
    MS-Off Ver
    Excel 2007
    Posts
    99

    Re: Vlookup to find first date of number of dates and return matching value

    Quote Originally Posted by abalserv_G View Post
    then go to Balances and find the FIRST balance it finds there and return it i.e. the answer should be 23000.
    Anne
    that's what you want, the first balance, and by this formula it will look for the first
    balacne, or you want something else, please explain more or attach sample file
    thanks and regards,

  5. #5
    Registered User
    Join Date
    02-03-2011
    Location
    Galway, Ireland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Vlookup to find first date of number of dates and return matching value

    Quote Originally Posted by noexcel=badwork View Post
    that's what you want, the first balance, and by this formula it will look for the first
    balacne, or you want something else, please explain more or attach sample file
    thanks and regards,
    This works for me...thank you for your help...

+ 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.2.0