+ Reply to Thread
Results 1 to 3 of 3

IF Function for dates with Conditional Format

Hybrid View

jenna_max IF Function for dates with... 07-28-2014, 03:22 AM
samba_ravi Re: IF Function for dates... 07-28-2014, 03:33 AM
jenna_max Re: IF Function for dates... 07-28-2014, 06:36 PM
  1. #1
    Registered User
    Join Date
    04-22-2014
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    26

    IF Function for dates with Conditional Format

    Hi,

    I have a worksheet which has employees and their licences with the expiry dates on it. I have a conditional format to show when the expiry date is within 30, 15 and 7 days. I have this referenced to a mastersheet, which has the formula =IF(INDEX('Licences & Tickets'!$I$7:$I$168,MATCH(A10,'Licences & Tickets'!$A$7:$A$168,0))="","","a") which shows a tick that the employee has it. I want to change the individual sheets to have another column in it, which will show the expiry date if it is still in date, but I want it to go blank if the expiry date has passed. I will then change the cell reference on the mastersheet to correspond with this so if their licence has expired it will show that they don't have it any more.

    I have tried using an IF function but can't get it to work. I want it to be something like =IF(cell=Date,"yes","") I'm not sure how this would work as I don't know how to make it so it can pick up any date, not a specific date.

    Any help and advice will be appreciated

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: IF Function for dates with Conditional Format

    attach an excel file
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    04-22-2014
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: IF Function for dates with Conditional Format

    Found a formula that works -
    =IF(cell<NOW(),"","y")

+ 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] conditional format based on dates.
    By 11ktran44 in forum Excel General
    Replies: 3
    Last Post: 03-26-2014, 12:55 PM
  2. Conditional Formating to Format for DATES
    By rushiv in forum Excel General
    Replies: 3
    Last Post: 09-05-2011, 01:58 AM
  3. Conditional format dates
    By Mrs.Z in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-07-2011, 12:51 PM
  4. Conditional Format Expiry Dates
    By Paul Cooke in forum Excel General
    Replies: 2
    Last Post: 03-01-2010, 07:26 AM
  5. Conditional Format Dates in a Calender when Matches dates in a list
    By Lungfish in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-14-2009, 06:23 AM

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