+ Reply to Thread
Results 1 to 3 of 3

Generic value for "date"

  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 Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    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.
    Where there is a will there are many ways.

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

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

  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

+ 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