+ Reply to Thread
Results 1 to 4 of 4

Lookup returning Date but when no date equals January 0 1900

Hybrid View

jaredmccullough Lookup returning Date but... 03-18-2015, 08:36 AM
benishiryo Re: Lookup returning Date but... 03-18-2015, 08:47 AM
jaredmccullough Re: Lookup returning Date but... 03-18-2015, 09:09 AM
benishiryo Re: Lookup returning Date but... 03-18-2015, 10:25 AM
  1. #1
    Forum Contributor
    Join Date
    04-23-2012
    Location
    Bradford PA
    MS-Off Ver
    Excel 2010
    Posts
    250

    Lookup returning Date but when no date equals January 0 1900

    I am using a VLookup from another worksheet that returns a date value but when there is not date in that worksheet it returns an arbitrary value of January 0, 1900 instead of being blank. Here is my current formula:

    =IFERROR(VLOOKUP(E11,VDatabase,22,FALSE),"")

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Lookup returning Date but when no date equals January 0 1900

    hi jaredmccullough. try:
    =IFERROR(1/(1/VLOOKUP(E11,VDatabase,22,FALSE)),"")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    04-23-2012
    Location
    Bradford PA
    MS-Off Ver
    Excel 2010
    Posts
    250

    Re: Lookup returning Date but when no date equals January 0 1900

    Quote Originally Posted by benishiryo View Post
    hi jaredmccullough. try:
    =IFERROR(1/(1/VLOOKUP(E11,VDatabase,22,FALSE)),"")
    benishiryo,

    Thank you for the quick response just for my general learning purposes how did dividing by (1) correct the situation?

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Lookup returning Date but when no date equals January 0 1900

    you're very welcome. let's give a couple of scenarios for the result of the VLOOKUP

    say the result is 10
    IFERROR(1/(1/10),"")
    =IFERROR(1/0.1,"")
    =IFERROR(10,"")
    =10

    say the result is 0
    IFERROR(1/(1/0),"")
    =IFERROR(1/#DIV/0!,"")
    =IFERROR(#DIV/0!,"")
    =""

+ 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. [SOLVED] MAX date formula displaying 00/01/1900 as blank fields in lookup
    By Jennsy in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-02-2024, 12:44 PM
  2. Replies: 1
    Last Post: 11-23-2014, 06:02 AM
  3. Lookup - Return Date When Summed Value Equals OH
    By davidandrew23 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-26-2012, 02:55 PM
  4. Replies: 5
    Last Post: 01-31-2012, 08:48 PM
  5. if a:a (range) equals january and c:c equals gas then add g:g ($)
    By BCOz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-29-2005, 03:45 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