+ Reply to Thread
Results 1 to 10 of 10

if function and cell fill with colour

  1. #1
    Registered User
    Join Date
    04-20-2009
    Location
    singapore
    MS-Off Ver
    Excel 2013
    Posts
    18

    if function and cell fill with colour

    I would like the cell be filled with green colour if another cell value is 3, how to write the fomula ? eg, cell A1 will be filled with green colour if cell A2=3 ? Or A1 wording will change to red colour if A2=3 ?
    Thks in advance.

  2. #2
    Registered User
    Join Date
    09-10-2011
    Location
    TRICHY INDIA
    MS-Off Ver
    Excel 2007
    Posts
    57

    Re: if function and cell fill with colour

    Hi,
    place the curson in a1 , go to conditional formatting,new rule, use a formula to,
    and type =a2=3 ,format , fill color as you like, change font as you like.
    Nadarajan

  3. #3
    Registered User
    Join Date
    04-20-2009
    Location
    singapore
    MS-Off Ver
    Excel 2013
    Posts
    18

    Re: if function and cell fill with colour

    Thks for the reply, actually I want to make the cell A2 to be fill with green colour if the Cell A3=3 and not physically go to the cell and make it fill with green colour. What I want is to write a fomula at A2 to check if A3 is equal to 3
    Thks in advance.

  4. #4
    Registered User
    Join Date
    04-20-2009
    Location
    singapore
    MS-Off Ver
    Excel 2013
    Posts
    18

    Re: if function and cell fill with colour

    oh, sorry, I get it. Thks a million

  5. #5
    Registered User
    Join Date
    04-20-2009
    Location
    singapore
    MS-Off Ver
    Excel 2013
    Posts
    18

    Re: if function and cell fill with colour

    sorry, is me again, however, after doing all this, it doesn't show formula when I click at A1 although when I put A3=3 and A1 indeed change to green, so exactly if I want to write the formula, how to write ?

    Thks again in advance.

  6. #6
    Forum Contributor Potholes's Avatar
    Join Date
    11-25-2011
    Location
    Brisbane
    MS-Off Ver
    Office 2021
    Posts
    774

    Re: if function and cell fill with colour

    PCLUM

    I have attached a file called test.xls

    And it has 2 samples of Conditional Forrmatting.

    If you put your cursor on Cell A1 and the click on Conditional Formatting, Manage Rules,
    to the left of the GREEN box you will see the formula, a2=3
    likewise if you click on Cell A3 you follow the formentioned steps you will see the formula
    A3=2.


    Peter
    Attached Files Attached Files
    Last edited by Potholes; 10-03-2015 at 12:04 AM.

  7. #7
    Registered User
    Join Date
    04-20-2009
    Location
    singapore
    MS-Off Ver
    Excel 2013
    Posts
    18

    Re: if function and cell fill with colour

    thks a lot , will try it.

  8. #8
    Registered User
    Join Date
    04-20-2009
    Location
    singapore
    MS-Off Ver
    Excel 2013
    Posts
    18

    Re: if function and cell fill with colour

    Hi, after trying to click the manage rules, it only show the condition" if" but never show how to use word or formula to "fill the cell with color"?

  9. #9
    Registered User
    Join Date
    09-10-2015
    Location
    London
    MS-Off Ver
    365 at work, 2016 at home
    Posts
    79

    Re: if function and cell fill with colour

    Conditional formats don't display in the usual formula bar, for three reasons - it's a format (like font size etc which don't display in there, not a formula (in the sense of =sum(a:a) being a formula, which would affect the value displayed) 2nd, because they only apply under certain conditions, and third, you want to be able to use the cell in the way you normally would AS WELL as the conditional format, and if it displayed, you wouldn't be able to.

    To view the conditional format info, click the cell you want, go to conditional formatting on the home tab, click manage rules.
    This displays all existing conditional formats for the selected cell, you can have as many as you like.
    To create a new one, Nadarajan's instructions do the job.

  10. #10
    Registered User
    Join Date
    04-20-2009
    Location
    singapore
    MS-Off Ver
    Excel 2013
    Posts
    18

    Re: if function and cell fill with colour

    Thks for your explanation.

+ 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. Modifying a Custom Function that is Summing Cells based on Fill Colour
    By BLN355 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-04-2014, 07:38 AM
  2. To fill entire row with fill colour of a particular cell with a formula
    By shailendra chari in forum Hello..Introduce yourself
    Replies: 3
    Last Post: 11-30-2013, 11:18 AM
  3. Replies: 1
    Last Post: 09-12-2013, 02:09 PM
  4. cell should fill with colour
    By MAHESHP030@GMAIL.COM in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-13-2013, 01:32 AM
  5. Is there a way of using colour/color fill to activate a function?
    By tasmith7482 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-12-2013, 03:44 PM
  6. My Excel 2007 has lost the function of fill-in colour
    By nofillincolour in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-27-2013, 10:09 PM
  7. Fill Colour of a cell based on another cell Fill Colour
    By ConorK in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-31-2012, 07:09 AM

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