Find Rows with Single Dates

pwill

Active Member
Joined
Nov 22, 2015
Messages
406
Hi can anyone help?

I have Dates in column A2:A sheet1 that keep a record of two inputs of data per day.
There should be the same date every two rows.

Is there an easy way to check column A to find any rows where dates might be missing

ie
the left example has two dates per row A2:A21
the right example has a date missing A14


ABCD

ABCD
1Date



1Date


201/01/17



201/01/17


301/01/17



301/01/17


402/01/17



402/01/17


502/01/17



502/01/17


603/01/17



603/01/17


703/01/17



703/01/17


804/01/17



804/01/17


904/01/17



904/01/17


1005/01/17



1005/01/17


1105/01/17



1105/01/17


1206/01/17



1206/01/17


1306/01/17



1306/01/17


1407/01/17



1407/01/17Single Date on Row 14
1507/01/17



1508/01/17


1608/01/17



1608/01/17


1708/01/17



1709/01/17


1809/01/17



1809/01/17


1909/01/17



1910/01/17


2010/01/17



2010/01/17


2110/01/17



21


22




22



23




23



24




24




<colgroup><col style="width:48pt" width="64" span="11"> </colgroup><tbody>
</tbody>


Any help would be appreciated

Regards
pwill
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
In column B try and copy down
Code:
=IF(AND(COUNTIF(A2:A3,A3)=1,COUNTIF(A2:A4,A3)=1),"missing date","OK")
 
Upvote 0
In column B try and copy down
Code:
=IF(AND(COUNTIF(A2:A3,A3)=1,COUNTIF(A2:A4,A3)=1),"missing date","OK")

Hi Scott T,

Thank you, is there a way to leave the OK cells blank so I can "ctrl Shift and down in column B to goto the missing row?

regards
pwill
 
Upvote 0
01/01/20172####
01/01/20172
02/01/20172
02/01/20172
03/01/20171
04/01/20172
04/01/20172
#####
=COUNTIF($A$1:$A$8,A1)
if you applied conditional formatting to every cell
=COUNTIF($A$1:$A$8,A1)<2
in A1 and copy down with format painter
single dates would turn red

<colgroup><col width="64" span="7" style="width:48pt"> </colgroup><tbody>
</tbody>
 
Upvote 0
Another way... assuming your dates start on Row 2, put this formula in cell B3 and copy down to the end of your data...

=IF(AND(A1<>A2,A2<>A3),"missing date","")
 
Last edited:
Upvote 0
Thanks oldbrewer,

I am trying to find a way to quickly go to the missing dates ie "ctrl Shift and down" as there are hundreds of rows

regards
pwill
 
Upvote 0
Another way... assuming your dates start on Row 2, put this formula in cell B3 and copy down to the end of your data...

=IF(AND(A1<>A2,A2<>A3),"missing date","")



Thanks Rick, yes thats what i am looking for but it doesn't allow me to goto the missing row when I use ctrl Shift and down in column B, would there be a way around this?

regards
pwill
 
Last edited:
Upvote 0
Thanks Rick, yes thats what i am looking for but it doesn't allow me to goto the missing row when I use ctrl Shift and down in column B, would there be a way around this?
I don't think there is a direct shortcut like that. If you select cell B2, press CTRL+F to bring up the Find dialog box, put an asterisk in the "Find what" field, click the "Options>>" button and change the "Look in" drop down to "Values" and then press the "Find Next" button, it will take you to the first occurrence of the word "missing"... click the "Find Next" button and it will take you to the second occurrence of the word "missing" if there is one.
 
Upvote 0

Forum statistics

Threads
1,216,109
Messages
6,128,883
Members
449,477
Latest member
panjongshing

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top