+ Reply to Thread
Results 1 to 2 of 2

Idea about Shading Cells

  1. #1
    Registered User
    Join Date
    11-29-2006
    Posts
    2

    Idea about Shading Cells

    Hi, I need to know how to shade a cell if it matches one of 30 specific numbers. Can`t seem to do it with conditional formatting (too many numbers). Any Ideas??

    Many thanks
    Martin

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by martin0010
    Hi, I need to know how to shade a cell if it matches one of 30 specific numbers. Can`t seem to do it with conditional formatting (too many numbers). Any Ideas??

    Many thanks
    Martin
    Hi,

    The non-VB code 'easy' way would be with a helper cell (say Z1) with a formula something like

    =IF(SUMPRODUCT(--({1;2;4;6;8;90;99}=A1))>0,"k","")

    and then Conditionally Format A1 based on Z1="k"

    Optionally adjust one of the many VB solutions available in this (or th Miscellaneous) Forum

    hth
    ---
    Si fractum non sit, noli id reficere.

+ 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