Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default conditional formatting a cell that has a formula

I have a list with a column (G) of answers ie (G3) =IMSUB(D3,F3) .etc
I am trying to colour code the answers ie <250 = green
250<500 = gold
500 = red

the conditional formatting seems to only reconise the formula and not the
answer in the cell
Please help

Regards Anthony
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default conditional formatting a cell that has a formula

If the formula returned "numbers" don't respond to the CF, then they probably
aren't real numbers. You could try coercing these to real numbers (within the
CF) by adding a zero: +0. like this ..

Apply these triplets in the CF's Formula Is:

Cond1: =AND(G30,G3+0<250)
Format Green

Cond2: =AND(G3+0=250,G3+0<=500)
Format Gold

Cond3: =G3+0500
Format Red

Success? Hit the YES below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Anthony96960" wrote:
I have a list with a column (G) of answers ie (G3) =IMSUB(D3,F3) .etc
I am trying to colour code the answers ie <250 = green
250<500 = gold
500 = red

the conditional formatting seems to only reconise the formula and not the
answer in the cell

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default conditional formatting a cell that has a formula

Errata, this line should have read:
Cond1: =AND(G3+00,G3+0<250)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default conditional formatting a cell that has a formula

Thanks Max that worked a treat
The only ones that arn't coloured are the ones that equal zero, which is ok
Thanks again

"Max" wrote:

Errata, this line should have read:
Cond1: =AND(G3+00,G3+0<250)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default conditional formatting a cell that has a formula

Hi Anthony

If you want to color 0's change the 1st condition formula to

=AND(G3+0=0,G3+0<250)

If this post helps click Yes
---------------
Jacob Skaria


"Anthony96960" wrote:

Thanks Max that worked a treat
The only ones that arn't coloured are the ones that equal zero, which is ok
Thanks again

"Max" wrote:

Errata, this line should have read:
Cond1: =AND(G3+00,G3+0<250)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default conditional formatting a cell that has a formula

Hi,

As an alternative to Max's solution, you may multiply by 1 instead of adding
0.
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default conditional formatting a cell that has a formula

Welcome, glad it worked out fine for you
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Anthony96960" wrote in message
...
Thanks Max that worked a treat
The only ones that arn't coloured are the ones that equal zero, which is
ok
Thanks again



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 if a cell contains a formula tsbarr Excel Worksheet Functions 2 November 12th 08 11:54 PM
Conditional formatting to a different cell and it contains a formula Rick[_10_] Excel Worksheet Functions 7 July 16th 08 06:22 PM
Conditional Formatting on cell with a formula Kass Excel Worksheet Functions 5 September 30th 07 08:30 AM
Recognizing Cell Formatting To Use In A Formula Or Conditional For Jim J. Excel Worksheet Functions 0 September 20th 06 08:28 PM
Conditional Formatting if cell content is a formula oldsambvca Excel Worksheet Functions 2 June 6th 06 10:24 PM


All times are GMT +1. The time now is 04:24 PM.

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"