ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Conditional Formatting (https://www.excelbanter.com/excel-discussion-misc-queries/103139-conditional-formatting.html)

Brokovich

Conditional Formatting
 

Hi there!

I am trying to use IF and VLOOKUP functions in conditional formatting
and am struggling. I have a list of employees and their start dates in
one place on the workbook, and a list of the employees again in another
table on the workbook. I want to format the names in the table so that
they are bold if the start date is less than a year old from today's
date. I have tried:

=IF((VLOOKUP(B4,B75:C138,2,FALSE)<(TODAY()-365),1,0)

But this does not work. Can anyone suggest anything?

Thanks!

B.


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

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