Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Using Dates with true and false statements

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!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Using Dates with true and false statements

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!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Using Dates with true and false statements

Hi,

=if(AI4="","",IF(TODAY()-AI45,"Yes",""))

"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!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Using Dates with true and false statements

Sorry, I posted the second half of my question in an additional post right
under the original.

Is there a way that I can take this formula one step further to say:

If Today minus AI4 is 5 and column AK is blank....then return a Yes in the
Overdue Column?




"Eduardo" wrote:

Hi,

=if(AI4="","",IF(TODAY()-AI45,"Yes",""))

"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!

  #5   Report Post  
Posted to microsoft.public.excel.misc
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!



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Using Dates with true and false statements

=IF(AND(AI4<"",AK4="",TODAY()-AI45),"Yes","")

If this post helps click Yes
---------------
Jacob Skaria


"Princess V" wrote:

Sorry, I posted the second half of my question in an additional post right
under the original.

Is there a way that I can take this formula one step further to say:

If Today minus AI4 is 5 and column AK is blank....then return a Yes in the
Overdue Column?




"Eduardo" wrote:

Hi,

=if(AI4="","",IF(TODAY()-AI45,"Yes",""))

"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!

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Using Dates with true and false statements


This works perfectly except for one scenario:
- if column AI or AK are blank....it still shows as a YES. Shouldn't it
show blank unless dates are entered?


"Eduardo" wrote:

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!

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Using Dates with true and false statements

Hi
As per your previous post you wanted the condition if today-AI5 and
AK=blank, to return Blank I can Add if AI is blank

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

"Princess V" wrote:


This works perfectly except for one scenario:
- if column AI or AK are blank....it still shows as a YES. Shouldn't it
show blank unless dates are entered?


"Eduardo" wrote:

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!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the best way to toggle between true and false in Excel? Hiall, My excel work involves a lot of toggling between true and false (booleantypes) ... and it's very repetitive... Is there a way to select a bunch ofcells, and press a key short-cu LunaMoon Excel Discussion (Misc queries) 9 July 29th 08 12:28 AM
True/False Comparison of Dates Randy Excel Discussion (Misc queries) 3 May 22nd 08 09:12 PM
Search for 2 true arguments and return true or false David Excel Discussion (Misc queries) 3 July 15th 06 10:18 AM
Function to return True/False if all are validated as True by ISNU Tetsuya Oguma Excel Worksheet Functions 2 March 15th 06 10:28 AM
Reverse false and combine with true true value Emmie99 Excel Worksheet Functions 5 August 17th 05 04:38 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"