+ Reply to Thread
Results 1 to 5 of 5

Conditional formating on formula not work

  1. #1
    Registered User
    Join Date
    12-04-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2003, Excel 2007, Excel 365
    Posts
    51

    Post Conditional formating on formula not work

    i have a dates in a column and i want to add 2 years to it and if the output is greater than today the cell should show green else red
    can anybody help on this
    rgds
    pmbhome

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,910

    Re: Conditional formating on formula not work

    Try this formula for CF:
    green: =EDATE(A1,24)>TODAY()
    red: =EDATE(A1,24)<=TODAY()

  3. #3
    Registered User
    Join Date
    12-04-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2003, Excel 2007, Excel 365
    Posts
    51

    Re: Conditional formating on formula not work

    THAT WORKS ON 1 CELL BUT WHAT IF I NEED TO PUT FORMATTING ON A COLUMN OR MULTIPLE CELLS

    rgds
    pmbhome

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Conditional formating on formula not work

    Select cell

    Conditional Formatting
    New Rule
    Use a formula to determine...

    Insert formulas as suggsted

    Format as required
    Use Format painter (paintbrush icon) to copy to other cells
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  5. #5
    Registered User
    Join Date
    12-04-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2003, Excel 2007, Excel 365
    Posts
    51

    Re: Conditional formating on formula not work

    tx ver much

    that worked very well

    rgds
    pmbhome

+ 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. Replies: 4
    Last Post: 01-23-2014, 10:14 AM
  2. Replies: 1
    Last Post: 12-09-2012, 09:26 PM
  3. If Formula and Conditional Formating
    By AznDragon533 in forum Excel General
    Replies: 1
    Last Post: 04-04-2011, 11:50 PM
  4. Conditional formating-What formula do i need to use in conditional formating
    By warrima in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-07-2009, 12:33 AM
  5. [SOLVED] How can I use conditional formating between two sheets in one work
    By Samad in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 02-07-2007, 09:32 AM
  6. Replies: 4
    Last Post: 07-29-2006, 07:10 PM
  7. How can I use conditional formating between two sheets in one work
    By Samad in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 07-29-2006, 07:01 PM
  8. [SOLVED] Conditional Formating won't work
    By Mary Mayo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-06-2005, 03:00 PM

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