+ Reply to Thread
Results 1 to 2 of 2

Create Error message for different dates entered.

  1. #1
    Registered User
    Join Date
    08-05-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    29

    Create Error message for different dates entered.

    Hi All,

    Let me start by using an example. I have a date (25-Aug-2010) in A1 and I want excel to display and error message when a date that lies in the weekend is entered into cell A2. Also an error message should be displayed when an earlier date is entered into cell A2. Anyone know how to do this?

    Thanks for reading this Thread.

  2. #2
    Registered User
    Join Date
    09-01-2008
    Location
    Houston, TX
    Posts
    70

    Re: Create Error message for different dates entered.

    Use Custom Data Validation in cell A2 with this formula =AND(WEEKDAY(A2)<>1,WEEKDAY(A2)<>7,A2>A1)

+ 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