ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   conditional formatting (https://www.excelbanter.com/excel-worksheet-functions/201204-conditional-formatting.html)

Anne

conditional formatting
 
how do i write a formula for a cell that i want to format if the date entered
into the cell is within 7 days beyond a date in another cell.
--
Anne

Glenn

conditional formatting
 
Anne wrote:
how do i write a formula for a cell that i want to format if the date entered
into the cell is within 7 days beyond a date in another cell.


Because Excel stores dates as numbers, you would write this exactly the same way
as "if the number entered into the cell is within 7 beyond a number in another
cell".

So, if I understand correctly, to format cell A1 based upon the entry in B1:

Cell Value Is less than or equal to =B1+7


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

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