+ Reply to Thread
Results 1 to 4 of 4

text colouring

  1. #1
    Forum Contributor
    Join Date
    06-06-2007
    Posts
    248

    text colouring

    Dear sir,with best regards,i have in (excel 2003)(H) column different contents(nos.,0,text),how can i colour (text) cells only by CF .
    My thanks.
    Last edited by tofimoon4; 08-08-2009 at 09:02 AM.

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: text colouring

    Use the Formula option:
    =AND(LEN(H1)>0,NOT(ISNUMBER(H1)))

    The LEN(H1)>0 part of the formula is to prevent blank cells from being colored as they are not numeric and Excel will apply the CF.

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: text colouring

    or, if you have no formulae generated nulls in the range

    =ISTEXT(H1)

    if you have Nulls another approach might be

    =COUNTIF(H1:H1,"?*")

    setting format accordingly for either/or

    depending upon the actual formatting required you could also possibly just use a Custom Format - this would only be viable if you wish to colour just the font, eg: General;General;General;[red]@
    (change General to specific number format if required)

    EDIT: the Custom Format route would probably be preferred if viable given CF are deemed "super-volatile".
    Last edited by DonkeyOte; 08-08-2009 at 08:50 AM. Reason: added EDIT line

  4. #4
    Forum Contributor
    Join Date
    06-06-2007
    Posts
    248

    Re: text colouring

    Many thanks my dears ,it works very well.

+ 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