+ Reply to Thread
Results 1 to 3 of 3

Formatting cells in one column based on the value of cells in another column

  1. #1
    Forum Contributor
    Join Date
    09-06-2012
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    225

    Formatting cells in one column based on the value of cells in another column

    I have a data set of all dates. I need every cell in column B to be red if the date is greater than the date in the same row for column C.


    For example: B5 = 11/10/12 and C5 = 11/5/12, B5 should be formatted red.


    Please assist.

    Thank you!

  2. #2
    Forum Contributor dogberry's Avatar
    Join Date
    07-15-2012
    Location
    Wales, UK
    MS-Off Ver
    Excel 2010
    Posts
    624

    Re: Formatting cells in one column based on the value of cells in another column

    Hi

    Use conditional formatting and use the formula if(B5>C5) that should do it. If you are not sure post a sample worksheet.

    Chris
    Click my star if I helped Thanks

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Formatting cells in one column based on the value of cells in another column

    hi Gard5096. highlight the cells in column B, say B2:B10 & go to Home -> Conditional Formatting -> New Rule -> Use a formula to determine which cells to format -> Format values where this formula is true:
    =B5>C5

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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