0
in Excel 2003 in worksheet1, I have a conditional formatting that highlights a cell when today is the birthday
in cell A1 date of Birth
in cell B1 age with the formula:
=DATEDIF($A1,TODAY(),"Y") & " Years, " & DATEDIF($A1,TODAY(),"YM") & " Months, " & DATEDIF ($A1,TODAY(),"MD") & " Days"
with the conditional formatting:
=TEXT($A1,"DD/MM")-TEXT(TODAY(),"DD/MM")=0
which works perfectly
but in worksheet2, I have in cell B1 the formula
=worksheet1!B1
with the same conditional formatting which does not work
How can I make cell B1 in worksheet2 be highlighted when today is the birthday?
Can you post a screenshot of your conditional formatting for Sheet2? What you've described should work fine. – Jonno – 2016-02-07T07:41:00.010
That conditional formatting formula cannot be right. B1 contains text, not a date, so the formula will return an error. It should refer to A1 instead of B1. Please check and update your question. – teylyn – 2016-02-08T01:21:22.820
I am sorry, you are right, the formula in B1 is =TEXT($A1,"DD/MM")-TEXT(TODAY(),"DD/MM")=0 But this works only in sheet1, not sheet2 – Hany – 2016-02-08T05:36:22.370
After reviewing teylyn comment, I found the solution, in cell A1 in worksheet2, I also referred to cell A1 of worksheet1; and this solved the problem. Thank you. – Hany – 2016-02-08T05:40:59.650