+ Reply to Thread
Results 1 to 5 of 5

change cell colour for all cells in sheet containing formula's

  1. #1
    Registered User
    Join Date
    01-28-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    55

    change cell colour for all cells in sheet containing formula's

    Hi there, is there a way to highlight all cells with formula's in a sheet automatically ?
    I know it is possible to show the formula in cells, but I still want to see the result and not the formula!
    When the cells get a specific colour I know a formula is involved.
    Hopefully someone can help me out!

    Regards,
    Robert

  2. #2
    Forum Contributor
    Join Date
    09-09-2008
    Location
    Middlesbrough, England
    MS-Off Ver
    2007
    Posts
    174

    Re: change cell colour for all cells in sheet containing formula's

    Hi Robert,

    There are 2 stages to displaying the view you need.

    #1.
    -Open the worksheet containing those formulas and press Alt + F11
    -Go to Insert | Module.
    -Enter the following function:
    Please Login or Register  to view this content.
    #2.
    -Press Alt + Q.
    -Go to Format | Conditional Formatting. In Excel 2007, click Conditional Formatting on the Home tab.
    -Choose Formula Is from the Condition 1 drop-down list. In Excel 2007, click New Rule and then click Use A Formula To Determine Which Cells To Format.
    -Enter the following formula:
    Please Login or Register  to view this content.
    -Click the Format button.
    -Click on the Patterns tab, select the colour you desire, and click OK. (In Excel 2007, go to the Fill tab, choose the colour under Background color and click OK.
    -Click OK.


    Thanks

    Batchy

  3. #3
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: change cell colour for all cells in sheet containing formula's

    You can use conditional formatting for this. Create rule based on formula, that applies to all cells in the sheet(some range). Use IsFormula in the rule formula
    If you are pleased with a member's answer then use the Star icon to rate it.

  4. #4
    Registered User
    Join Date
    01-28-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    55

    Re: change cell colour for all cells in sheet containing formula's

    Hi Batchy, thanks a lot , works fine!

    Rgds Robert

  5. #5
    Forum Contributor
    Join Date
    09-09-2008
    Location
    Middlesbrough, England
    MS-Off Ver
    2007
    Posts
    174

    Re: change cell colour for all cells in sheet containing formula's

    No worries, if you could add reputation points & mark the thread as solved that would be great.

+ 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. Replies: 1
    Last Post: 05-30-2014, 02:45 AM
  2. Change colour of cells based on another cell's colour (Not value)
    By LTrain89 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-25-2013, 08:44 PM
  3. Change cell colour, based on matched cells in sheet 2
    By Bobbo Jones in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-14-2013, 02:27 AM
  4. Formula to change multiple cells colour if criteria met
    By al3xwhit3 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-25-2013, 05:27 AM
  5. How to change a cell colour depending an a different cells value?
    By abb16ott in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 10-23-2009, 04:05 AM
  6. Replies: 7
    Last Post: 11-27-2008, 10:31 AM
  7. Can a formula change a cells colour after a given length of time?
    By Clive Humphries in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-20-2006, 06:30 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