Conditional formatting referencing multiple cells.

B

Bullocks

Good day,

Hoping someone can help…

In cell C4 I have percentage
In cell E4 I have a due date
In cell F4 I have calculated the number of days something is overdue
using this formula:
=DAYS360(TODAY(),E4)

What I would like to be able to do, is highlight the cells A4 to F4 if
C4 is less than 100 and F4 is less than 1.

Many thanks to whomever can help!
 
T

T. Valko

Select the *entire* range A4:F4 starting from cell A4. Cell A4 will be the
active cell. The active cell is the one cell in the selected range that is
not shaded. The formula will be relative to the active cell.

In Excel 2007

Goto Home tab>Styles>Conditional Formatting>Manage rules>New rule>Use a
formula to determine which cells to format
Enter this formula in the box below:
=AND(COUNT($C4,$F4)=2,$C4<100%,$F4<1)
Click the Format button
Select the desired style(s)
OK out

In Excel versions 2003 and earlier

Goto the menu Format>Conditional Formatting
Select the Formula Is option
Enter this formula in the box on the right:
=AND(COUNT($C4,$F4)=2,$C4<100%,$F4<1)
Click the Format button
Select the desired style(s)
OK out

--
Biff
Microsoft Excel MVP


Good day,

Hoping someone can help…

In cell C4 I have percentage
In cell E4 I have a due date
In cell F4 I have calculated the number of days something is overdue
using this formula:
=DAYS360(TODAY(),E4)

What I would like to be able to do, is highlight the cells A4 to F4 if
C4 is less than 100 and F4 is less than 1.

Many thanks to whomever can help!
 
T

T. Valko

You're welcome!

--
Biff
Microsoft Excel MVP


Select the *entire* range A4:F4 starting from cell A4. Cell A4 will be the
active cell. The active cell is the one cell in the selected range that is
not shaded. The formula will be relative to the active cell.

In Excel 2007

Goto Home tab>Styles>Conditional Formatting>Manage rules>New rule>Use a
formula to determine which cells to format
Enter this formula in the box below:
=AND(COUNT($C4,$F4)=2,$C4<100%,$F4<1)
Click the Format button
Select the desired style(s)
OK out

In Excel versions 2003 and earlier

Goto the menu Format>Conditional Formatting
Select the Formula Is option
Enter this formula in the box on the right:
=AND(COUNT($C4,$F4)=2,$C4<100%,$F4<1)
Click the Format button
Select the desired style(s)
OK out

--
Biff
Microsoft Excel MVP


Good day,

Hoping someone can help…

In cell C4 I have percentage
In cell E4 I have a due date
In cell F4 I have calculated the number of days something is overdue
using this formula:
=DAYS360(TODAY(),E4)

What I would like to be able to do, is highlight the cells A4 to F4 if
C4 is less than 100 and F4 is less than 1.

Many thanks to whomever can help!

You're a hero!
 
D

David Biddulph

CF/ Formula is:
=AND($C4<100,$F4<1)

As a matter of interest, did you actually intend DAYS360, or could you have
used =E4-TODAY() ?
--
David Biddulph

Good day,

Hoping someone can help…

In cell C4 I have percentage
In cell E4 I have a due date
In cell F4 I have calculated the number of days something is overdue
using this formula:
=DAYS360(TODAY(),E4)

What I would like to be able to do, is highlight the cells A4 to F4 if
C4 is less than 100 and F4 is less than 1.

Many thanks to whomever can help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top