date question

dankar

Board Regular
Joined
Mar 23, 2016
Messages
113
Office Version
  1. 365
Platform
  1. Windows
original date
collection date
1
10/1/2016
10/8/2016
2
01/05/2017
01/07/2017
3
10/10/2018
10/17/2018
4
10/20/2018
10/30/2018

<tbody>
</tbody>
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

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
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,214,819
Messages
6,121,749
Members
449,050
Latest member
excelknuckles

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