+ Reply to Thread
Results 1 to 4 of 4

Using VLOOKUP, MATCH to find info based on a variable date.

  1. #1
    Registered User
    Join Date
    03-04-2014
    Location
    Jacksonville, FL
    MS-Off Ver
    Excel 2013
    Posts
    5

    Using VLOOKUP, MATCH to find info based on a variable date.

    Hello Everyone,

    I am trying to use VLOOKUP, Match to pull information from a variable date.
    On the Daily Balance Sheet is the re-portable data which has a conditional cell(B2) for changing the date. On the Data by Date Sheet is the Table (_2015) with the raw data with columns by date an and rows by general account numbers. The formula I am using is =VLOOKUP(7310500.04,_2015,MATCH(B2,_2015,0),FALSE) but I keep getting an N/A.

    I have attached the spreadsheet. Any suggestions would be helpful. I have also used INDEX and MATCH with the same results.


    Thank You Phillip
    Attached Files Attached Files
    Last edited by Pspringer2002; 07-13-2015 at 10:15 AM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Using VLOOKUP, MATCH to find info based on a variable date.

    Try this formula

    =INDEX(_2015, MATCH(7310500.04, _2015[Gl '#],0), MATCH(TEXT(B2, "m/d/yyyy"), _2015[[#Headers],[7/1/2015]:[12/31/2015]],0)+2)

    The headers are, by default, text so the date in B2 needs to be converted to text in the formula.

    Note: I hard coded the GI # in since the values you have on your daily balance sheet in column A do not match exactly values in column B of your table.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    03-04-2014
    Location
    Jacksonville, FL
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: Using VLOOKUP, MATCH to find info based on a variable date.

    Thank You ChemistB, that work.


    Phillip

  4. #4
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,418

    Re: Using VLOOKUP, MATCH to find info based on a variable date.

    You need to change the format and then your formula will work at the sheet "Date by Date".
    Attached Files Attached Files

+ 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. Open variable name workbook & vlookup to find that variable named wookbook
    By vh_llc@yahoo.com in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-06-2014, 07:49 PM
  2. Combine info from two worksheets into a third based on closest date match
    By stephanbrown in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-11-2013, 07:53 PM
  3. Replies: 1
    Last Post: 02-03-2013, 09:54 PM
  4. [SOLVED] Looking to combine info from 2 sheets into 3rd but need to match variable record numbers
    By dawatcher in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-24-2012, 06:22 PM
  5. Linking info in workbooks based on a variable
    By jexcelnewb in forum Excel General
    Replies: 9
    Last Post: 02-09-2011, 02:49 PM
  6. Replies: 14
    Last Post: 04-02-2010, 02:22 AM
  7. Find date. Vlookup, Find, Match ?????
    By richardeallen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-26-2008, 06:48 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