View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
OfficeManager OfficeManager is offline
external usenet poster
 
Posts: 6
Default if statement syntax help

Thanks so much. Now, can I count all the cells in column D that have the
conditional formatting of a yellow cell?

"M Kan" wrote:

In the conditional formatting wizard, select Formula Is and enter:

=AND(G25,I269%)=TRUE
--
Tips for Excel, Word, PowerPoint and Other Applications
http://www.kan.org/tips


"OfficeManager" wrote:

I have been reading a lot about conditional formatting. I have cells in D2
that I want highlighted in yellow if g25 and i269%. If g2 and i2 do not
both meet the criteria, I don't want anything to happen to d2. I'm assuming
I can use conditional formating for that, but how do I write it?