count dates that are within 7 days of another date/time

enxxmp

New Member
Joined
Apr 17, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I need to count the date/times in the "Rebooted" column (d:d) that are within the last 7 days of the date/times in the "Timestamp" column (b:b). I've tried several countif fomulas but can't figure it out. Thanks.

STB S/NTimestampUptimeRebooted
3879680221441033234/13/2023 17:36:29924/13/2023 17:34:57
3879680221441039574/13/2023 17:36:24614/13/2023 17:35:23
3879680220541024674/13/2023 17:34:41514/13/2023 17:33:50
3879680224231040624/13/2023 17:33:4317709883/24/2023 5:37:15
3879680224151088044/13/2023 17:32:47874/13/2023 17:31:20
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,216,119
Messages
6,128,947
Members
449,480
Latest member
yesitisasport

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