+ Reply to Thread
Results 1 to 7 of 7

Conditional formatting for cell fill

Hybrid View

  1. #1
    Registered User
    Join Date
    02-27-2019
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    70

    Conditional formatting for cell fill

    Hello,

    I have an excel sheet with a colom of blanks and 1's.
    If one cell of a range is 1 then another cell has to be filled with red.
    I tried a conditional formatting function(See file) but it only works with 1 cell of the range.

    Tx in advance!
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,586

    Re: Conditional formatting for cell fill

    CF does work if you get the rule right, which should be this:

    =COUNTIF($F$1:$F$11,1)>0

    You may have to change commas to semi-colons for your locale.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,586

    Re: Conditional formatting for cell fill

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  4. #4
    Registered User
    Join Date
    02-27-2019
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    70

    Re: Conditional formatting for cell fill

    That doesn't work unfortunately

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,586

    Re: Conditional formatting for cell fill

    Yes, it does. Have a look at my copy.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    02-27-2019
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    70

    Re: Conditional formatting for cell fill

    Ah yeah it works indeed! i don't know why it didn't the first time. Thanks!

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,586

    Re: Conditional formatting for cell fill

    Probably because you did not change commas to semi-colons, as I had advised.

+ 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. [SOLVED] conditional formatting: fill cell color based upon =< or > =NOW()
    By InvGrp2 in forum Excel General
    Replies: 3
    Last Post: 01-16-2019, 06:53 PM
  2. [SOLVED] Issue with cell fill using conditional formatting rules
    By VB_kid in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-08-2016, 11:34 AM
  3. Replies: 21
    Last Post: 12-16-2015, 03:04 PM
  4. Fill color of cells with conditional formatting for more than 3 criterias
    By Sai Prashanth in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-20-2014, 03:58 PM
  5. [SOLVED] Conditional Formatting to Fill Cell
    By ISUCyclones in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-05-2013, 01:33 PM
  6. Conditional Formatting to Auto Fill Cell
    By fmluder93 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-26-2009, 06:18 PM
  7. Cell Formatting Conditional On Other Cells Fill Color?
    By Kael_Sidhe@yahoo.com in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-06-2006, 12:25 PM

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