ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   hightlight cells (https://www.excelbanter.com/excel-discussion-misc-queries/265234-hightlight-cells.html)

sookie

hightlight cells
 
i need to hightlight a cell when i have one birthday in my list

Jackpot

hightlight cells
 
Suppose you have the list of birthdays as a named range ...and with dates in
Column D. Select Column D..and apply the conditional form

1. Select the dates are in Range (say D1:D10). Please note that the cell
reference D1 mentioned in the formula is the active cell in the selection.
Active cell will have a white background even after selection
2. From menu FormatConditional Formatting
3. For Condition1Select 'Formula Is' and enter the below formula

'if you have a named range 'birthdays'
=COUNTIF(birthdays,D1)

OR

'if the birthdays are mentioned in the same sheet say J1:J10 then try
=COUNTIF($J$1:$J$10,D1)

4. Click Format ButtonPattern and select your color (say Red)
5. Hit OK

PS: If you are using XL2007 Goto Home tabStylesConditional
FormattingManage rulesNew ruleUse a formula to determine which cells to
format. Enter the formula in the box below.



"sookie" wrote:

i need to hightlight a cell when i have one birthday in my list



All times are GMT +1. The time now is 05:19 PM.

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