+ Reply to Thread
Results 1 to 3 of 3

how can I highlight a cell if it meets year and month criteria

  1. #1
    Clyde
    Guest

    how can I highlight a cell if it meets year and month criteria

    This is the formula that I have in the column:
    =IF(K104=0,"",(DATE(YEAR(K104),MONTH(K104)+24,DAY(K104))))

    If the month and year is reached I want the cell highlighted in red, if
    exceeded I want the cell in yellow.

    How do I do this?

  2. #2
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    Look at format_conditional formating
    Choose 2 conditions and the colours you require if they are met

    Regards

    Dav

  3. #3
    Barb Reinhardt
    Guest

    RE: how can I highlight a cell if it meets year and month criteria

    You would do this using conditional formatting. Let's say you want to have
    the cell highlighted if the date is <= today.

    Select the cells
    Format -> Conditional formatting
    Formula is: (select the first cell) and then enter <= today()

    You should see something like

    =$A$1<=today()

    You will probably want to remove the $ from the formula if it applies to
    multiple cells.

    HTH.

    Barb Reinhardt


    "Clyde" wrote:

    > This is the formula that I have in the column:
    > =IF(K104=0,"",(DATE(YEAR(K104),MONTH(K104)+24,DAY(K104))))
    >
    > If the month and year is reached I want the cell highlighted in red, if
    > exceeded I want the cell in yellow.
    >
    > How do I do this?


+ 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