#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 162
Default Date Sequence 2

I have a spreadsheet with four dates of columns. These dates are supposed to
occur in order, e.g. 4/1/08, 5/2/08, 6/2/08, and 7/2/08. While this is not a
validation question, I need to know if there's a formula to use that can look
at those four cells in the respective four columns and return a TRUE or FALSE.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Date Sequence 2

Try this:

=OR(A1B1,B1C1,C1D1)

Hope this helps.

Pete

On Oct 1, 3:42*pm, Daren wrote:
I have a spreadsheet with four dates of columns. *These dates are supposed to
occur in order, e.g. 4/1/08, 5/2/08, 6/2/08, and 7/2/08. *While this is not a
validation question, I need to know if there's a formula to use that can look
at those four cells in the respective four columns and return a TRUE or FALSE.

Thanks.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default Date Sequence 2

Hi,
If your 4 dates are in A1:A4, then try the following in another cell:
=AND(A4A3,A3A2,A2A1)
Regards - Dave.
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Date Sequence 2

Try this:

=SUMPRODUCT(--(B1:D1A1:C1))=3



"Daren" wrote:

I have a spreadsheet with four dates of columns. These dates are supposed to
occur in order, e.g. 4/1/08, 5/2/08, 6/2/08, and 7/2/08. While this is not a
validation question, I need to know if there's a formula to use that can look
at those four cells in the respective four columns and return a TRUE or FALSE.

Thanks.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 162
Default Date Sequence 2

Thanks.

"Dave" wrote:

Hi,
If your 4 dates are in A1:A4, then try the following in another cell:
=AND(A4A3,A3A2,A2A1)
Regards - Dave.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 162
Default Date Sequence 2

Thanks.

"Teethless mama" wrote:

Try this:

=SUMPRODUCT(--(B1:D1A1:C1))=3



"Daren" wrote:

I have a spreadsheet with four dates of columns. These dates are supposed to
occur in order, e.g. 4/1/08, 5/2/08, 6/2/08, and 7/2/08. While this is not a
validation question, I need to know if there's a formula to use that can look
at those four cells in the respective four columns and return a TRUE or FALSE.

Thanks.

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 162
Default Date Sequence 2

Thanks.

"Pete_UK" wrote:

Try this:

=OR(A1B1,B1C1,C1D1)

Hope this helps.

Pete

On Oct 1, 3:42 pm, Daren wrote:
I have a spreadsheet with four dates of columns. These dates are supposed to
occur in order, e.g. 4/1/08, 5/2/08, 6/2/08, and 7/2/08. While this is not a
validation question, I need to know if there's a formula to use that can look
at those four cells in the respective four columns and return a TRUE or FALSE.

Thanks.



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Date Sequence 2

You're welcome.

You didn't make it clear what the TRUE represented - in my formula it
would be true for any date out of sequence.

Pete

On Oct 1, 4:49*pm, Daren wrote:
Thanks.



"Pete_UK" wrote:
Try this:


=OR(A1B1,B1C1,C1D1)


Hope this helps.


Pete


On Oct 1, 3:42 pm, Daren wrote:
I have a spreadsheet with four dates of columns. *These dates are supposed to
occur in order, e.g. 4/1/08, 5/2/08, 6/2/08, and 7/2/08. *While this is not a
validation question, I need to know if there's a formula to use that can look
at those four cells in the respective four columns and return a TRUE or FALSE.


Thanks.- Hide quoted text -


- Show quoted text -


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
Date Sequence Daren Excel Discussion (Misc queries) 2 October 1st 08 02:50 PM
How do I set my system date as day-- month--year sequence? Marty Excel Discussion (Misc queries) 2 May 17th 08 05:12 PM
Macro help inserting records by date sequence. Richard Excel Discussion (Misc queries) 4 September 18th 07 11:05 PM
sequence number based on date denise Excel Worksheet Functions 2 July 25th 06 10:51 PM
Set tab sequence help tamato43 Excel Discussion (Misc queries) 0 August 25th 05 07:11 PM


All times are GMT +1. The time now is 08:45 AM.

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"