1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Coloring Cells in Excel 2007

Discussion in 'Business Applications' started by rdagirl, Jan 3, 2013.

Thread Status:
Not open for further replies.
  1. rdagirl

    rdagirl Thread Starter

    Joined:
    Jan 3, 2013
    Messages:
    1
    Can anyone help me figure out how to do the following?

    Cell A1 has a date of 12/15/12 and cell B1 has a date of 1/15/13 I want it to color cell B1 red. If A1 has a date of 12/15/12 and B1 has a date of 12/15/12 then I want it yellow. If A1 has a date 12/15/12 and B1 has a date of 12/1/12 then I want it green. Help!
     
  2. etaf

    etaf Moderator

    Joined:
    Oct 2, 2003
    Messages:
    65,252
    First Name:
    Wayne
    use conditional formatting and set up some rules

    use a formula

    =AND(A1= DATE(2012, 12, 15), B1=DATE(2013,1,15))
    format red

    =AND(A1= DATE(2012, 12, 15), B1=DATE(2012, 12, 15))
    format yellow

    =AND(A1= DATE(2012, 12, 15), B1=DATE(2012, 12, 1))
    format green

    see attached
     

    Attached Files:

  3. Heather112

    Heather112

    Joined:
    Jun 21, 2012
    Messages:
    16
    Do you want something general? So if the entry in your B column is a later date than your A column it's red, if equal it's yellow and if earlier it's green? Or will 12/15/2012 and the other dates you listed always be the entries?
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1083559

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice