+ Reply to Thread
Results 1 to 5 of 5

Match/Vlookup Error

  1. #1
    Registered User
    Join Date
    10-15-2015
    Location
    Huntington Beach, CA
    MS-Off Ver
    2016
    Posts
    14

    Match/Vlookup Error

    Hi all,

    I want to do a simple index reference lookup, but I'm using this as the lookup value ="1/1/"&YEAR(TODAY()) and it keeps returning an error.

    Is there a way to modify the formula? Use a different formula? Reformat my lookup value to comply?


    Formula Cell - Q8

    Lookup Value Cell- AG3


    Thanks guys!
    Attached Files Attached Files

  2. #2
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Match/Vlookup Error

    If you change AG20 from 1/01/2016 to 1/1/2016 you'll get a match. It means putting the AG17:Ag23 range in as text. Use the ' symbol then type 1/1/2014 etc down the range
    Happy with my advice? Click on the * reputation button below

  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: Match/Vlookup Error

    Quote Originally Posted by Gblack686 View Post
    I'm using this as the lookup value ="1/1/"&YEAR(TODAY()) and it keeps returning an error.
    That formula returns a TEXT string that looks like a date.

    This formula will return a real date:

    =DATE(YEAR(TODAY()),1,1)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    10-15-2015
    Location
    Huntington Beach, CA
    MS-Off Ver
    2016
    Posts
    14

    Re: Match/Vlookup Error

    Solid solid. Both quality answers that solved my problem. I knew that had something to do with the answer, just didn't know how to remedy it.

    Thanks guys!

  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: Match/Vlookup Error

    You're welcome. We appreciate 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. Error when using 2-dimensional lookup (Vlookup with Match) - please help
    By d61660 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-24-2016, 02:00 PM
  2. [SOLVED] Vlookup to Pivot Table, using Match function, returns error if can't find match value
    By AndrewHowarth in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-16-2015, 12:10 AM
  3. Error with Vlookup and Match combo formula
    By ghladik in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-05-2014, 10:35 AM
  4. [SOLVED] N/A Error Using VLOOKUP even though there is match?
    By chicity26 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-25-2014, 11:11 AM
  5. [SOLVED] if,match,vlookup error
    By jrobertson2403 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-03-2013, 03:13 AM
  6. Vlookup or offset/match formula error
    By adam2308 in forum Excel General
    Replies: 2
    Last Post: 04-16-2009, 03:38 PM
  7. Run Time Error for Vlookup & Match command
    By Syed Haider Ali in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-19-2005, 02:05 PM

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.6.0 RC 1