If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > 4 cells to conditionally format based on Multiple values in another cell

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old
Registered User
 
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!
Reply With Quote
  #2 (permalink)  
Old
(Making Your Life Easy)
 
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
Reply With Quote
  #3 (permalink)  
Old
Registered User
 
Join Date: Jan 2009
Location: Louisiana, United States
Posts: 163
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 10:26.
Reply With Quote
Reply

Tags
conditional formatting

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On