Forum Discussion

Ross Mckenzie's avatar
Ross Mckenzie
Copper Contributor
Jul 11, 2017

MS Excel formula assistance

Hi all, this is probably going to be basic for most users, so apologies but I have been out of work for some time and extremely rusty with Excel so getting back into it slowly.  I'm after help with a date calculation.  Essentially, I'm creating a spreadsheet which amongst others has an "expiry date" column, but when entering the date into the column if the date of expiry is within 60 days of todays date to automatically fill the cell red to act as an alert, but I would like this column to automatically check itself each day upon opening the sheet so whereas it may be white today, tomorrow when I open the sheet it goes red.  I'm assuming it's going to be a form of an IF function with auto conditional formatting of some sort, but I'm at a bit of a loss after trying a few things - Any help would sincerely be appreciated!!  Thanks

  • Willy Lau's avatar
    Willy Lau
    Steel Contributor

    conditional formatting should help.

    Have you done it?  Try =INT(ExiryDate)<=INT(TODAY()+60)  as the condition

Resources