+ Reply to Thread
Results 1 to 3 of 3

IF Formula to test textcolor

  1. #1
    Registered User
    Join Date
    01-27-2004
    Posts
    32

    IF Formula to test textcolor

    Hi all,

    Whats the formula for testing if textcolor is red or black in another cell?

    I've tried something like IF(A16;ColorIndex=3;.....so on, but I need help to get it work.

    Thanks in advance

    //Thomas

  2. #2
    Registered User
    Join Date
    03-02-2005
    Location
    Greenville, SC, USA
    Posts
    41
    If you formatted the cell as a number and picked the red as the way to show negative, the following should help. If you just formatted the font as red for the cell this doesn't seem to work and not sure of how to get it (other than creating a function using visual basic).


    =CELL("color",C4)

  3. #3
    Registered User
    Join Date
    01-27-2004
    Posts
    32
    Hi,

    To explain some more:

    in cell D1: IF(B1=textcolor black then formula in G1;IF(B1=textcolor red then formula in H1)

    I'm not even sure that there is a way to test it in a formula.....
    I dont want to do this in code.


    Any idea's, anyone?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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