+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    10-10-2007
    Posts
    2

    Generic value for "date"

    Hi

    I know this is being very lazy because it must be very obvious - but because of that I think someone will be able to answer it very quicklly....

    Building a formula of nested IFs to display one of three possible results:

    The three values are:

    n/a
    0
    a date

    I want the cell to show one of three possible restults - here is what I've got:

    =IF(L6="n/a","n/a",IF(L6=0,"Not Received", IF(L6=DATE,L6)))

    But as you will notice, I don't how to get it to show whatever the date is if its a date in L6 - what is the default value for date so that if it sees any date it displays the required result?

    Thanks!

    Ivan

  2. #2
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,142
    There is no absolute function for determining if a cell has a date in it....

    Excel sees dates as numbers, so you can check if the cell has a number other than 0 or you can use a date range to ensure the value is a "reasonable" date.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Registered User
    Join Date
    10-10-2007
    Posts
    2
    Thanks for the very rapid response; will try the date range idea...

    Cheers
    Ivan

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