Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Conditional Formatting Text based on a formula

I have got a range of cells 'lets as A1 to F6' all with text in them. I know
it is possible to highlight cells based on the text that they have in them,
however i only what it to highlight the text when another cell 'g2' is
greater than a certain number eg '2'. Is it possible to do this?

Thanks in advance.
Craig
--
I'm not mad the voices in my head keep telling me so!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,805
Default Conditional Formatting Text based on a formula

Select the range A1:F6
Use the following formula in Conditional Formatting
=$G$22

This will highlight the whole range...

If you just want to highlight the corresponding row based on the value in G
use
=$G12

$G1 will change to $G2 for row 2 and so on


"Scully" wrote:

I have got a range of cells 'lets as A1 to F6' all with text in them. I know
it is possible to highlight cells based on the text that they have in them,
however i only what it to highlight the text when another cell 'g2' is
greater than a certain number eg '2'. Is it possible to do this?

Thanks in advance.
Craig
--
I'm not mad the voices in my head keep telling me so!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 175
Default Conditional Formatting Text based on a formula

Select A1to F6
Go to Conditional Formatting and under Formula Is
place this =$G22


--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked


Thank You

cheers, francis



"Scully" wrote:

I have got a range of cells 'lets as A1 to F6' all with text in them. I know
it is possible to highlight cells based on the text that they have in them,
however i only what it to highlight the text when another cell 'g2' is
greater than a certain number eg '2'. Is it possible to do this?

Thanks in advance.
Craig
--
I'm not mad the voices in my head keep telling me so!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 857
Default Conditional Formatting Text based on a formula

Hi,

To make the solution a little more flexible, enter the trigger value in cell
G1 for example and then

In 2003:
1. Select the cells you want to format
2. Choose Format, Conditional Formatting
3. Choose Formula is from the first drop down
4. In the second box enter the formula:
=$G$2$G$1
5. Click the Format button
6. Choose a color on the Patterns tab (or any available option)
7. Click OK twice.

In 2007:
1. Highlight all the cells on the rows you want formatted
2. Choose Home, Conditional Formatting, New Rule
3. Choose Use a formula to determine which cell to format
4. In the Format values where this formula is true enter the following
formula:
=$G$2$G$1
5. Click the Format button and choose a format.
6. Click OK twice

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Scully" wrote:

I have got a range of cells 'lets as A1 to F6' all with text in them. I know
it is possible to highlight cells based on the text that they have in them,
however i only what it to highlight the text when another cell 'g2' is
greater than a certain number eg '2'. Is it possible to do this?

Thanks in advance.
Craig
--
I'm not mad the voices in my head keep telling me so!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting based on Text Wendy7 Excel Worksheet Functions 2 April 2nd 07 03:42 PM
Conditional Formatting based on text? KarenH Excel Worksheet Functions 4 February 22nd 07 01:50 AM
Conditional Formatting based on text within a cell w/ text AND num Shirley Excel Worksheet Functions 2 December 22nd 06 01:40 AM
Conditional formatting based on text within a formula Sarah Jane Excel Worksheet Functions 13 October 12th 06 04:12 PM
Conditional formatting based on text Gilles Desjardins Excel Worksheet Functions 8 February 16th 05 10:45 PM


All times are GMT +1. The time now is 04:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"