+ Reply to Thread
Results 1 to 5 of 5

How do I change the cell colour depending on if statement result?

  1. #1
    Registered User
    Join Date
    04-04-2013
    Location
    London, england
    MS-Off Ver
    Excel 2007
    Posts
    3

    How do I change the cell colour depending on if statement result?

    I have a cell which is counting the total from 3 other cells. I want to add an if statement to this to say that if this total is the same as or equal to the number in the cell to the left of this cell than colour it Red and if not, don't change the colour.

    In my attached spreadsheet, the cell that needs the formula is Sheet 1 Cell C2

    Thanks!

    Q for forum.xlsxQ for forum.xlsx

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: How do I change the cell colour depending on if statement result?

    Conditional formatting

    If C2>=B2

    Q for forum.xlsx
    Elegant Simplicity............. Not Always

  3. #3
    Registered User
    Join Date
    04-04-2013
    Location
    London, england
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: How do I change the cell colour depending on if statement result?

    Hi, Thanks but the formula doesn't appear in the spreadsheet you sent back. Could you resend with formula or paste formula into a reply

  4. #4
    Valued Forum Contributor
    Join Date
    09-10-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    929

    Re: How do I change the cell colour depending on if statement result?

    From the Home tab, click on Conditional Formatting, then Manage Rules...

  5. #5
    Registered User
    Join Date
    04-04-2013
    Location
    London, england
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: How do I change the cell colour depending on if statement result?

    Ok thanks a million!

+ 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