View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Eduardo Eduardo is offline
external usenet poster
 
Posts: 2,276
Default Using Dates with true and false statements

Hi,
=IF(and(TODAY()-AI45,AK4=""),"YES","")

if the bothe conditions are not true will enter a blank

"Princess V" wrote:

Sorry...I forgot one piece of my question....

let me try again.

I have a date value in Colum AI....
I have another column with another date in Column AK.

If today minus the the date in Column AI is 5 and Column AK is blank -
then return Yes in the Overdue Column (Column AO).

Is this doable?

"Princess V" wrote:

I have a spreadsheet that has a column that contains the date a particular
item was shipped.

I want to be able to identify (not with colours) those rows in which todays
date minus the date in the cell is greater then 5 days. If so, I want to
enter the value "Yes" in another column (title of column is Overdue because
its been greater then 5 days).

I have used: =IF(TODAY()-AI45,"Yes","")

The problem is, if the date column is blank, it still returns a Yes value.

How can I avoid this? I want it to either remain blank, or state No.

Help!