简体   繁体   中英

Conditional Formatting Based on Two Cells

I have added some VBA coding to a document using Wingdings 2 P to create ticks. I now want to add some conditional formatting so that if two cells have P (the tick symbol) then they turn a colour. I can get it working in one cell but when I try to copy the formula it won't work. The formula I have put in is:

=AND(M6="P", N6="P")  

Can anyone help?

I think you may want a CF formula of the kind:

=AND($M6="P",$N6="P")  

but it does somewhat depend upon what you would like formatted subject to the condition/s.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM