3 dates per row, record when the 3 dates are in sequence

Onebracketshort

New Member
Joined
Dec 19, 2019
Messages
37
Office Version
  1. 2010
Platform
  1. Windows
Have a worksheet with 3 date entries on each row corresponding to different events.

I’m looking to record the rows where the 3 dates follow in sequence in column f

For example, I'm looking to track these occurrences :

Column d: 02/10/2020

Column e: 02/11/2020

Column a: 02/12/2020

Sequence needs to be in the order above

Expected results below

Book1
ABCDEF
1Main DateDate 1Date 2Dates in Sequence
219/06/201915/06/201915/06/2019
318/06/201916/06/201917/06/2019Sequence
419/06/201913/06/201919/06/2019
518/06/201913/06/201919/06/2019
617/06/201913/06/201918/06/2019
718/06/201916/06/201917/06/2019Sequence
816/06/201916/06/201917/06/2019
916/06/201916/06/201916/06/2019
1014/06/201912/06/201913/06/2019Sequence
1113/06/201913/06/201913/06/2019
Sheet1


thanks for looking
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
@mrshl9898

Is there a way to reuse this function again and change it to record in the same way but for the below?

Column d: 02/10/2020 or 02/09/2020

Column e: 02/11/2020

Column a: 02/12/2020

So I’m looking for when column “ e” is one day behind column “a” and column “d” is either one or two days behind column “e”

thanks again
 
Upvote 0
@mrshl9898

I have had a look at introducing an OR logical test. Would this do it?

=IF(AND(OR(E2-1=D2,E2-2=D2),A2-1=E2),"Sequence","")

cheers
 
Upvote 0
It's simple and effective, that means if it works then it's the best way.
 
Upvote 0

Forum statistics

Threads
1,215,640
Messages
6,125,974
Members
449,276
Latest member
surendra75

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