Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default 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?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 389
Default 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?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default 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?




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 389
Default 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?






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
Writing Formula For conditional Formatting Using Excel 2000 Cali Excel Discussion (Misc queries) 3 January 27th 10 09:54 PM
Using an If Formula with Conditional Formatting Cali Excel Discussion (Misc queries) 1 January 21st 10 07:46 PM
Conditional Formatting-If Formula GatorGirl Excel Worksheet Functions 4 March 7th 08 10:19 AM
Excel Formula using Conditional Formatting [email protected] Setting up and Configuration of Excel 1 February 6th 08 01:52 PM
Conditional Formatting Formula Daviv Excel Programming 2 March 12th 07 05:19 PM


All times are GMT +1. The time now is 07:17 PM.

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

About Us

"It's about Microsoft Excel"