ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Conditional Formatting - Formula - Excel '97 (https://www.excelbanter.com/excel-programming/411518-conditional-formatting-formula-excel-97-a.html)

Phendrena

Conditional Formatting - Formula - Excel '97
 
Hi,

I'm using the following formula for my criteria and it doesn't work :-

=AND(D16:D1013="Mid-Term", (F16:F1013="Yes"))

D16:D1013=Mid-Term
F16:F1013=Yes

I need both of the criteria to be met for the formatting to be applied.

Any suggestions?

Tim Zych

Conditional Formatting - Formula - Excel '97
 
=AND(COUNTIF(D16:D1013,"Mid-Term") =
ROWS(D16:D1013),COUNTIF(F16:F1013,"Yes") = ROWS(F16:F1013))

--
Tim Zych
www.higherdata.com
Compare data in workbooks and find differences with Workbook Compare
A free, powerful, flexible Excel utility


"Phendrena" wrote in message
...
Hi,

I'm using the following formula for my criteria and it doesn't work :-

=AND(D16:D1013="Mid-Term", (F16:F1013="Yes"))

D16:D1013=Mid-Term
F16:F1013=Yes

I need both of the criteria to be met for the formatting to be applied.

Any suggestions?




Phendrena

Conditional Formatting - Formula - Excel '97
 
hi,

Thanks for the reply.
I'm not able to get this working though. The formatting still isn't being
applied.
Any suggestions as to why. I've copied it as show below, and nothing and
i've also copied it and not had any luck.

"Tim Zych" wrote:

=AND(COUNTIF(D16:D1013,"Mid-Term") =
ROWS(D16:D1013),COUNTIF(F16:F1013,"Yes") = ROWS(F16:F1013))

--
Tim Zych
www.higherdata.com
Compare data in workbooks and find differences with Workbook Compare
A free, powerful, flexible Excel utility


"Phendrena" wrote in message
...
Hi,

I'm using the following formula for my criteria and it doesn't work :-

=AND(D16:D1013="Mid-Term", (F16:F1013="Yes"))

D16:D1013=Mid-Term
F16:F1013=Yes

I need both of the criteria to be met for the formatting to be applied.

Any suggestions?





Tim Zych

Conditional Formatting - Formula - Excel '97
 
Sometimes the cell references get screwed up in conditional formatting. Make
sure the references are what you think they should be, or use absolute
references.

=AND(COUNTIF($D$16:$D$1013,"Mid-Term") =
ROWS($D$16$:D$1013),COUNTIF($F$16:$F$1013,"Yes") = ROWS($F$16:$F$1013))


--
Tim Zych
www.higherdata.com
Compare data in workbooks and find differences with Workbook Compare
A free, powerful, flexible Excel utility

"Phendrena" wrote in message
...
hi,

Thanks for the reply.
I'm not able to get this working though. The formatting still isn't being
applied.
Any suggestions as to why. I've copied it as show below, and nothing and
i've also copied it and not had any luck.

"Tim Zych" wrote:

=AND(COUNTIF(D16:D1013,"Mid-Term") =
ROWS(D16:D1013),COUNTIF(F16:F1013,"Yes") = ROWS(F16:F1013))

--
Tim Zych
www.higherdata.com
Compare data in workbooks and find differences with Workbook Compare
A free, powerful, flexible Excel utility


"Phendrena" wrote in message
...
Hi,

I'm using the following formula for my criteria and it doesn't work :-

=AND(D16:D1013="Mid-Term", (F16:F1013="Yes"))

D16:D1013=Mid-Term
F16:F1013=Yes

I need both of the criteria to be met for the formatting to be applied.

Any suggestions?








All times are GMT +1. The time now is 12:16 AM.

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