+ Reply to Thread
Results 1 to 4 of 4

formula help - conditional format to colour cell = count = formula

  1. #1
    Registered User
    Join Date
    01-23-2015
    Location
    swansea
    MS-Off Ver
    windows 8
    Posts
    1

    formula help - conditional format to colour cell = count = formula

    I need help. Im trying to write some formulas for a forecasting model and ideally what i need is.

    Conditional format = various rules to change colour (i can do)

    I then need to have another cell to look the the conditional formatted cell and have the following - IF Cell(x) = colour (a) then formula = xxxxxxxxx or if cell (x) = colour (b) then formula = yyyyyyy. Is there any way of doing this in excel

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: formula help - conditional format to colour cell = count = formula

    Hi,

    Since you already have the rules for the colour formatting and use those self same rules in your formula, e.g.

    IF(A1='formula for A1 colour format', 'this formula',IF(A1=.....etc
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: formula help - conditional format to colour cell = count = formula

    Chip Pearson has an article here > http://www.cpearson.com/Excel/CFColors.htm about this however I know this hasnt always been successful.

    Is it not easier just to replicate the CF conditions in an IF statement?
    If someone has helped you then please add to their Reputation

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: formula help - conditional format to colour cell = count = formula

    excel formulas cannot see formatting, only data, and CF is formatting, so....
    IF Cell(x) = colour (a) then formula = xxxxxxxxx or if cell (x) = colour (b) then formula = yyyyyyy. Is there any way of doing this in excel
    No, not with a regular formula. You can possibly use the same CF rules you already have for that,
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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: 3
    Last Post: 04-06-2014, 10:44 AM
  2. Conditional format formula need to change font colour
    By Si902 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-24-2010, 09:57 AM
  3. Cell Format Colour in Formula Result
    By Greenshutters in forum Excel General
    Replies: 1
    Last Post: 09-13-2007, 06:29 AM
  4. [SOLVED] Conditional Format - Formula to Colour Every 3rd Cell in Offset Range
    By Sam via OfficeKB.com in forum Excel General
    Replies: 7
    Last Post: 08-13-2005, 12:05 AM
  5. Formula to count Cell colour.
    By themax16 in forum Excel General
    Replies: 3
    Last Post: 05-29-2005, 09:05 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