+ Reply to Thread
Results 1 to 5 of 5

Do this with formula or only w macro? Cell fill colr to blue if certain conditions met

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Florida
    MS-Off Ver
    Home -Excel 2007, Work 2016
    Posts
    254

    Do this with formula or only w macro? Cell fill colr to blue if certain conditions met

    Is it possible to use a formula to cause a cell to become blue if certain is met - or is a macro the only way?

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,746

    Re: Do this with formula or only w macro? Cell fill colr to blue if certain conditions met

    You can use Conditional Formatting, but we would need a bit more information.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Do this with formula or only w macro? Cell fill colr to blue if certain conditions met

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever). Please don't attach a picture of an Excel sheet (no-one will want to re-type all your stuff before starting).

    1. It does NOT have to be your real sheet - mock up a SAMPLE if you need to. But not 1000's of rows!!! It makes manual checking so tedious. Whatever you do... make sure that all confidential information is removed first!!

    2. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    3. Make sure that your desired solution is also shown (mock up the results manually).

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Florida
    MS-Off Ver
    Home -Excel 2007, Work 2016
    Posts
    254

    Re: Do this with formula or only w macro? Cell fill colr to blue if certain conditions met

    Instead of a sheet with 10 - 20 rows, how about this -
    if c6= Yes - then fill color in g6 changed from none to a medium blue?
    That work??

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,746

    Re: Do this with formula or only w macro? Cell fill colr to blue if certain conditions met

    With conditional formatting select G6 > new rule > use a formula >
    =C6="Yes"
    and set the format you want.

+ 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. Cell selection changing after macro runs to blue hyperlink
    By margal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-25-2018, 07:02 PM
  2. Conditional Format to Blue Fill and Blue Font IF two conditions are met
    By Branbran10 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-25-2015, 10:52 AM
  3. [SOLVED] Macro to select cell with smallest value in table, fill with light blue background.
    By Didomenicon in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-21-2014, 12:13 AM
  4. Turn cell A1 blue if any cells between $L$6:$Q$9 are blue
    By sandk0330 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-18-2013, 02:53 PM
  5. [SOLVED] Macro to fill cell on one tab w/ data from another tab if conditions are met
    By kbspence in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-15-2012, 03:03 PM
  6. Fill Cell Contents On Multiple Conditions (Formula or VBA)
    By RolandD in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-13-2012, 10:09 AM
  7. Odd blue box in cell with a formula
    By TyTotaler in forum Excel General
    Replies: 3
    Last Post: 02-18-2011, 07:59 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