+ Reply to Thread
Results 1 to 3 of 3

Formula Based On Text Colour...?

  1. #1
    Registered User
    Join Date
    01-27-2019
    Location
    UK
    MS-Off Ver
    2010
    Posts
    6

    Formula Based On Text Colour...?

    Is there a way to have an IF formula look at colour and calculate according to that?

    For example if a cell has Black text colour then it works one way, but if I manually change the text to Red then it changes?

    Thanks!

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Formula Based On Text Colour...?

    Formulas cant read cell format colours, you need VBA for that.
    However if your text is set by Condtional Formatting then just use the same conditions.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: Formula Based On Text Colour...?

    Colour isn't data so changing the colour won't cause a recalculation. You can use a UDF to return a value/flag/whatever to indicate a change but, again, it won't work in real time ... only when you make a change that causes a recalculation.

    You could look at SUBTOTAL and maybe use filters to hide/unhide rows. But that won't change automatically, you'd need to update the filter.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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. conditional formatting fill cells based on text, how to find sum based on CF colour
    By tubbybear in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-27-2016, 12:04 PM
  2. How to change cell colour, if the colour is based on value from formula?
    By darah237 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-19-2016, 11:40 AM
  3. VBA - Cell colour based on text
    By Clofty in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-18-2015, 12:39 PM
  4. Formula to check colour of text or colour of background
    By Wonderful World in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-07-2014, 01:49 AM
  5. Replies: 1
    Last Post: 09-10-2013, 10:28 PM
  6. How to make row change colour based on text colour in row?
    By Joanna13 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-02-2010, 04:39 PM
  7. Colour Change based on Text Value
    By Mark123456789 in forum Excel General
    Replies: 1
    Last Post: 12-04-2007, 05:52 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