+ Reply to Thread
Results 1 to 3 of 3

Date format when using a vlookup

Hybrid View

Guest Date format when using a... 08-30-2005, 11:05 AM
Guest Re: Date format when using a... 08-30-2005, 02:05 PM
Guest Re: Date format when using a... 08-31-2005, 11:05 AM
  1. #1
    Rob Laman
    Guest

    Date format when using a vlookup

    I am using a vlookup to pull a column of dates into another workbook.
    However, in some cases the sheet that I pull the date from has a blank in the
    date column which then populates my vlookup column with a zero value.
    Because the destination column is formatted as a date, I end up with a
    01/00/00 value. Is there a quick and easy way to eliminate this; I'd like to
    see the blank pulled forward so that if there is no date listed in the source
    file the destination file is also blank.

    Thanks in advance,
    Rob

  2. #2
    Dave Peterson
    Guest

    Re: Date format when using a vlookup

    =if(vlookup()="","",vlookup())

    might work for you.

    Rob Laman wrote:
    >
    > I am using a vlookup to pull a column of dates into another workbook.
    > However, in some cases the sheet that I pull the date from has a blank in the
    > date column which then populates my vlookup column with a zero value.
    > Because the destination column is formatted as a date, I end up with a
    > 01/00/00 value. Is there a quick and easy way to eliminate this; I'd like to
    > see the blank pulled forward so that if there is no date listed in the source
    > file the destination file is also blank.
    >
    > Thanks in advance,
    > Rob


    --

    Dave Peterson

  3. #3
    Rob Laman
    Guest

    Re: Date format when using a vlookup

    Thanks Dave. My struggle was that I also have some nesting going on to
    eliminate some errors for items that aren't on the source file. I was
    missing an extra IF function - the scaled down version below helped to make
    it clearer.

    Thanks again,
    Rob

    "Dave Peterson" wrote:

    > =if(vlookup()="","",vlookup())
    >
    > might work for you.
    >
    > Rob Laman wrote:
    > >
    > > I am using a vlookup to pull a column of dates into another workbook.
    > > However, in some cases the sheet that I pull the date from has a blank in the
    > > date column which then populates my vlookup column with a zero value.
    > > Because the destination column is formatted as a date, I end up with a
    > > 01/00/00 value. Is there a quick and easy way to eliminate this; I'd like to
    > > see the blank pulled forward so that if there is no date listed in the source
    > > file the destination file is also blank.
    > >
    > > Thanks in advance,
    > > Rob

    >
    > --
    >
    > Dave Peterson
    >


+ 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