+ Reply to Thread
Results 1 to 3 of 3

Complex Conditional Formatting

  1. #1
    Registered User
    Join Date
    09-18-2008
    Location
    annarbor
    Posts
    16

    Complex Conditional Formatting

    In a range, say A1:D5, I need to format cells as follows:

    1) If cell contains only "H" or "HV": highlight red
    2) If cell contains only a number: highlight blue
    3) If cell contains a number with the letter "F" ("1 F" or "5.5 F"): highlight pink


    I would like to use conditional formatting.

    Any help would be much appreciated. I would be happy to provide an example if this explanation is too confusing!

    Thanks
    Last edited by VBA Noob; 11-03-2008 at 03:41 PM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    use formula is
    =OR(A1="h",A1="hv")

    =ISNUMBER(A1)

    =FIND("f",A1)

  3. #3
    Registered User
    Join Date
    09-18-2008
    Location
    annarbor
    Posts
    16
    PERFECT! Works great, thank you!

+ 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