Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default True False statements

If I have two date columns example below:

I want it to say true if the date is the dates are equal
or one day after - does anyone have a formula??

06/06/04 06/06/04 TRUE
06/06/04 06/07/04 TRUE
06/06/04 06/08/04 FALSE

I need to keep track of nursing homes and make sure they
are reporting ill seniors withing 24 hours - if they don't
I have to take corrective action - so I am trying get the
data base to tell me if the did not report in time

Can you help? Thank you

Katherine
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default True False statements

=if(And(trunc(B1)=trunc(A1),trunc(B1)<=Trunc(A1+1 )),True,False)

then drag fill down the column.

--
Regards,
Tom Ogilvy



"katherine" wrote in message
...
If I have two date columns example below:

I want it to say true if the date is the dates are equal
or one day after - does anyone have a formula??

06/06/04 06/06/04 TRUE
06/06/04 06/07/04 TRUE
06/06/04 06/08/04 FALSE

I need to keep track of nursing homes and make sure they
are reporting ill seniors withing 24 hours - if they don't
I have to take corrective action - so I am trying get the
data base to tell me if the did not report in time

Can you help? Thank you

Katherine



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
Using Dates with true and false statements Princess V[_2_] Excel Discussion (Misc queries) 7 September 1st 09 07:59 PM
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
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
True / false statements in Macros RogerNZ Excel Programming 3 June 14th 04 03:13 AM
True Or False, no matter what... it still displays the false statement rocky640[_2_] Excel Programming 2 May 13th 04 04:57 PM


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

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

About Us

"It's about Microsoft Excel"