Count how many cells < > value X provided they match other criteria first - ( How many "OPEN" "IT" "RISKS" are due for action with "X" days of today

NGADAMS

New Member
Joined
Mar 12, 2013
Messages
1
Scenario
1: I need to count the number of Items (Risks) in Total
2: I need to count the number of Items (Risks) Open or Closed
3: I need to count the number of Items (Risks) Open and due for Action within X days of today

Problem
I am stuck at requirement 3 - effectively "how many open IT risks are due for action with x days of today"

Current Setup
I have an XL Sheet "Data" which holds a register of risks and issues
All calcs and todays date are captured on a sheet called "Status"

Here is how I calculate the elements of the Status Sheet

Number of IT RISKs is calculated by: =COUNTIFS(Data!D:D,B7,Data!$E:$E,$C$6)

Where:
Data!D:D is a Column of "Prog Stream" names
B7 = Stream name to match (IT)

Data!E:E is Column of "Risk" or "Issue"
$C$6 = RISK

Number of OPEN IT Risks is calculated by: =COUNTIFS(Data!$D:$D,$B7,Data!$E:$E,$C$6,Data!$T:$T,$E$6)
Where:
Data!D:D is a Column of Stream names
B7 = Stream name to match

Data!E:E is Column of "Risk" or "Issue"
$C$6 = RISK

Data!T:T is column of "OPEN" or "CLOSED"
$E$6 = OPEN

Request for assistance
How can I calc: The number of the Open risks which are due within 7, 14, 30 or greater than 30 days

I tried :=COUNTIFS(Data!$D:$D,$B7,Data!$Q:$Q,(($B$3-Data!$Q:$Q)<M$14))
Where

Data!D:D is a Column of Stream names
$B7 = Stream name to match
$B$ = today()

Data!$Q$Q = Column of "Action by Dates" on "Data! sheet"

<M$14 7)
Thanks for help
Obviously I am doing something wrong but can not see the wood for the trees

All (any) advice gratefully received

Kind regards
Nom
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,215,693
Messages
6,126,248
Members
449,304
Latest member
hagia_sofia

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