UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Excel date search where date breaks    
 
   
aburl81
post Mar 23 2009, 11:45 AM
Post #1

UtterAccess Veteran
Posts: 319
From: Whidbey Island WA



Hello all,

I am trying to search through dates that I have in an Excel document to find any dates that do not continue or break the date order. What is the best way to do this?

Here is an example:

Good: the example below is good because the date continues from 22 to 23 march

Cell 1: 22 March 2009
Cell 2: 23 March 2009


Bad: the example below is bad because cell 2 date does not continue the date from cell 1

Cell 1: 22 March 2009
Cell 2: 24 March 2009

Sorry, forgot to add that I will be using a conditional format to highlight the mismatched dates
Hope that was explaned correctly! Thanks in advance for any help


Edited by: aburl81 on Mon Mar 23 13:02:45 EDT 2009.
Go to the top of the page
 
+
AvgJoe
post Mar 23 2009, 12:02 PM
Post #2

UtterAccess Ruler
Posts: 2,042
From: West Coast, USA



Adan,

The "QUAD" (QUick And Dirty) way I would do this is to run an IF condition next to the date column - something like =IF(Date Diff("d", Cell1, Cell2)=1,"",***). That way, you can look down the column and see where the breaks are.

BTW - this is untested/off the top of my head.

HTH,

AvgJoe
Go to the top of the page
 
+
aburl81
post Mar 23 2009, 12:08 PM
Post #3

UtterAccess Veteran
Posts: 319
From: Whidbey Island WA



Thanks, I will give it a shot
Go to the top of the page
 
+
KingMartin
post Mar 24 2009, 03:05 AM
Post #4

Retired Moderator
Posts: 10,959
From: Prague,CZ / Kiev,UA



Provided A1 has a header and your data starts in A2:

Select A3:A<endofyourrange>

Format=>Conditional Format=> Formula Is:

=(A2+1)<>A3

Martin
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 22nd May 2013 - 05:56 PM