Count specific cell values if date of cell is within 7 days from now.

SplatP1

Board Regular
Joined
Jun 15, 2010
Messages
69
Office Version
  1. 365
Platform
  1. Windows
Hello,

I need a formula to count the number of times that there is a zero in a row next to a name, as long as the date of the column is less than 7 days ago.
Result in ColB.
Blank cells should be ignored.

Thanks in advance!
Owen
 

Attachments

  • Excel_Date.png
    Excel_Date.png
    13.7 KB · Views: 18

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Book2
ABCDEFG
1NameMissed10/6/2310/4/2310/2/239/28/239/26/23
2John10522455242088813413
3Sue144109000
4David 24461800017702
5Mary0316313819128732957416898
6
7
810/7/23
Sheet3
Cell Formulas
RangeFormula
B2:B5B2=SUM(--NOT(ISERR(FILTER(C2:G2,(C2:G2=0)*($A$8-$C$1:$G$1<=7)*NOT(ISBLANK(C2:G2))))))
A8A8=TODAY()
 
Last edited:
Upvote 0
Solution

Forum statistics

Threads
1,224,823
Messages
6,181,179
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