Maybe this will work for you.
Rearrange the data into a single column of dates B and mark the country
that the date belongs to in the next column C. Sort into order by Date.
Add the fill-down formulas to compare the dates, and use a Filter to show/select
the US date from each matching pair.
The attached workbook implements this.
This can be the basis for automating the procedure, if need be.
A B C D E
Date Country Compare Choose
3 1 US 0 0 - Sort rows of dates into order by date
4 2 Japan 1 0 - Fill down the formulas
5 2 US 1 1 - Use Filter to select rows of interest
6 3 US 0 0 Select B2:E16 and do Data: Filter: AutoFilter
7 4 Japan 1 0 Click the Choose drop-down and select 1
8 4 US 1 1 - Select and Copy the rows to another sheet
9 5 US 0 0 - This works only if there are no duplicate dates
10 6 Japan 1 0 within the US data and Japan data considered separately
11 6 US 1 1
12 7 US 0 0
13 8 Japan 1 0
14 8 US 1 1
15 9 Japan 1 0
16 9 US 1 1
17
D3 =--OR(B3=B4,B3=B2)
E3 =--AND(C3="US",D3=1)
Compare: 1 if date has a partner
Choose : Select the US date for filtering
FrankBoston is the pen name for Andrew Garland, Lexington MA
Bookmarks