+ Reply to Thread
Results 1 to 3 of 3

Conditional Formating

  1. #1
    Registered User
    Join Date
    08-13-2011
    Location
    Louisiana
    MS-Off Ver
    Excel 2007
    Posts
    1

    Conditional Formating

    I am trying to get conditional formatting in my excel 2007 to change the font color of cell b4 if there is any entry in b5. NOW B5 is a test field not numeric. I know how to do it if it was a numeric value. Here is what I am doing, I have B4 font color the same as the background so it does not show up. But I want it to change to black if field B5 has anything in it period. Again B5 is a text field not numeric.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Conditional Formating

    =LEN($B5)>0
    Would that work for you?
    or =ISTEXT($B5)
    or =$B5<>""
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,085

    Re: Conditional Formating

    to change the font color of cell b4 if there is any entry in b5
    in B4 put

    =B5<>""

    But I want it to change to black if field B5 has anything in it period. Again B5 is a text field not numeric.
    so that would also need a conditional format

    exactly what do you mean by
    I know how to do it if it was a numeric value

+ 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