ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Problems with conditonal formatting (https://www.excelbanter.com/excel-programming/373301-problems-conditonal-formatting.html)

TheRook

Problems with conditonal formatting
 
I have a pivot table that contains a list off part numbers (starts A3 going
down) , the current qty in stock (start B3 going down), the the week no due
(starts c2 going left to right) and then the qty req in the corresponding
area. I also have the current week number in IR4

In E3 for example I am have conditionally formatted as follows:
1. CELL VALUE IS LESS THAN OR EQUAL TO =SUM($B3-SUM($C3:D3))
2. FORMULA IS =E$2<=$IR$4

What this should do is fill in cells that I have enough material for in a
colour and also change the text colour of cells the are equal to or less that
the current week number.

where it is going wrong is that when I have enough material to cover a week
that is equal to or lee than the current week it filling it in a colour but
is not highlighting the text.

How can I conditionally format using both critiria?

regards

Bernie Deitrick

Problems with conditonal formatting
 
Rook,

You need to combine them into one: when there are more than one CF, the first one that matches the
criteria is applied.

Try something along the lines of (I'm just guessing here....):

FORMULA IS
=AND(E$2<=$IR$4,E$2=SUM($B3-SUM($C3:D3)))

HTH,
Bernie
MS Excel MVP


"TheRook" wrote in message
...
I have a pivot table that contains a list off part numbers (starts A3 going
down) , the current qty in stock (start B3 going down), the the week no due
(starts c2 going left to right) and then the qty req in the corresponding
area. I also have the current week number in IR4

In E3 for example I am have conditionally formatted as follows:
1. CELL VALUE IS LESS THAN OR EQUAL TO =SUM($B3-SUM($C3:D3))
2. FORMULA IS =E$2<=$IR$4

What this should do is fill in cells that I have enough material for in a
colour and also change the text colour of cells the are equal to or less that
the current week number.

where it is going wrong is that when I have enough material to cover a week
that is equal to or lee than the current week it filling it in a colour but
is not highlighting the text.

How can I conditionally format using both critiria?

regards





All times are GMT +1. The time now is 09:21 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com