Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2012
    Posts
    1

    4 cells to conditionally format based on Multiple values in another cell

    I am trying to highlight (conditional Format) specific cells showing where to place info IF a cell starts with a specific value. is this possible?

    IF D3 cell values start with the number 4 (475 460 450 etc) I want to turn cells H3, J3, L3, and N3 GREEN. IF D3 cell values start with a 2 (275, 260, or 250 etc) I want to turn cells H3, J3, ONLY GREEN . IF D3 cell values start with a 1 (175, 160, or 150) I want to turn cell H3 ONLY GREEN.

    I have excel 2003. Soon to upgrade to excel 2010. is this possible?

    Thanks!

  2. #2
    Join Date
    Feb 2004
    Location
    New Zealand
    Posts
    1,275
    have you tryed the =find() which should find the number you looking for in a cell
    hope this help

    See clear as mud


    StePhan McKillen
    the aim is store once, not store multiple times
    Remember... Optimize 'til you die!
    Progaming environment:
    Access based on my own environment: DAO3.6/A97/A2000/A2003
    VB based on my own environment: vb6 sp5
    ASP based on my own environment: 5.6
    VB-NET based on my own environment started 2007
    SQL-2005 based on my own environment started 2008
    MYLE

  3. #3
    Join Date
    Jan 2009
    Location
    Ohio, United States
    Posts
    166
    Brunlln,

    To do this you'd have to set up the conditional formating by column. Click on cell H3, then go to conditional formatting "Use formula to determine which cells to format" or similar for your version. You'll enter 3 rules for this cell, setting the format as highlighted in green. Here are those rules:

    =LEFT(TEXT(D3,0),1)="1"
    =LEFT(TEXT(D3,0),1)="2"
    =LEFT(TEXT(D3,0),1)="4"

    Then for J3 you would enter the first 2 rules above,
    Then for L3 you would enter only the first rule above.
    If you have multiple rows, drag row 3 down and you should be good.

    Joshua
    Last edited by scrtchmstj; 12-05-12 at 11:26.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •