date question

dankar

Board Regular
Joined
Mar 23, 2016
Messages
113
Office Version
  1. 365
Platform
  1. Windows
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]original date
[/TD]
[TD]collection date
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]10/1/2016
[/TD]
[TD]10/8/2016
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]01/05/2017
[/TD]
[TD]01/07/2017
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]10/10/2018
[/TD]
[TD]10/17/2018
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]10/20/2018
[/TD]
[TD]10/30/2018
[/TD]
[/TR]
</tbody>[/TABLE]
I have a list of 300 sample, i need to know the ones that were collected 7 days and more from the original sample

for example the answer here will be : 1,3 and 4

what would be the formula to get this result.

thank you
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
If Original Date in column A and Collection Date in column B, and data starts in row 2, one way would be to add this formula to cell C2 and copy down for all rows:
Code:
=(B2-A2)>=7

You could then filter column C to only show the TRUE results.
 
Upvote 0
If Original Date in column A and Collection Date in column B, and data starts in row 2, one way would be to add this formula to cell C2 and copy down for all rows:
Code:
=(B2-A2)>=7

You could then filter column C to only show the TRUE results.

Thank you so much
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
Members
453,021
Latest member
Justyna P

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