Countif multiple conditions -I can't work it out

kristell

New Member
Joined
Dec 12, 2014
Messages
40
Office Version
  1. 365
Platform
  1. Windows
Hi - I have a spreadsheet which is quite large, it contains the names of all heads of service together with their website pages which are due to be reviewed to ensure content is accurate and up to date at certain times. I have to produce another report each month to say which heads of service have reviewed their pages or haven't etc., along these lines :


head of service 1 pages not reviewed | pages to be reviewed next month | pages not due for review
head of service 2 pages not reviewed | pages to be reviewed next month | pages not due for review
head of service 3 pages not reviewed | pages to be reviewed next month | pages not due for review

etc.,


The names of the heads of service are in column O - about 600 different rows (web pages) with about 30 different heads of service

I have three columns

Column J Date due for next review THIS COLUMN IS =K2+L2
Column K Date last reviewed THIS IS THE DATE THE REPORT WAS LAST REVIEWED
Column L Review frequency (days) THIS COLUMN CONTAINS NUMBER OF DAYS TILL HEAD OF SERVICE NEXT WANTS TO REVIEW THE WEB PAGE

Column J then has conditional formatting:

Overdue for review = less than or equal to today RED FILL (I HAVE TODAYS DATE IN A SEPARATE CELL (p1)
Needs review = Less than or equal to today + 30 AMBER FILL
No review needed = greater than or equal to today + 31 GREEN FILL


So what I would like is on the same worksheet but outside of the print range the info:

head of service 1 pages not reviewed | pages to be reviewed next month | pages not due for review
head of service 2 pages not reviewed | pages to be reviewed next month | pages not due for review
head of service 3 pages not reviewed | pages to be reviewed next month | pages not due for review


Not sure what is the best way to do this - any help would be greatfully received.

This is as far as I have got: =COUNTIF(O2:O513,"head of service name") in the three columns but I need to also tell me how may of his pages have not been reviewed, due to be reviewed next month and how many not yet due for review!!

Many thanks
 
Last edited:

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Just wondered if I am making this too complicated. I have added a column which is effectively 'days overdue'.... Can I do a countif 'specific text' and overdue certain amount of days that matches:

Overdue for review = less than or equal to today RED FILL (I HAVE TODAYS DATE IN A SEPARATE CELL (p1)
Needs review = Less than or equal to today + 30 AMBER FILL
No review needed = greater than or equal to today + 31 GREEN FILL
 
Upvote 0
I have tried many different ways of doing this but just can not get it to work - using Countif using countifs - that is why I wondered if someone can help with my specific problem - as I can not get my head round it - I have spent seven hours googling for different ways and still not found anything that helps me. I am sorry if this is not the correct place to ask for help.
 
Upvote 0
I have just tried it on a test sheet using a column with days overdue and got this which has seemed to work - finally!:

Red Amber Green Total
Nick =COUNTIFS(I21:I39,">1",G21:G39,"Nick") =COUNTIFS(I21:I39,"<1",I21:I39,">-30",G21:G39, "Nick") =COUNTIFS(I21:I39,"<-30",G21:G39,"Nick") =COUNTIF(G21:G39,"Nick")



Carol =COUNTIFS(I21:I39,">0",G21:G39,"Carol") =COUNTIFS(I21:I39,"<1",I21:I39,">-32",G21:G39, "Carol") =COUNTIFS(I21:I39,"<-30",G21:G39,"Carol") =COUNTIF(G21:G39,"Carol")


If you can see any errors in the formula please let me know
 
Upvote 0

Forum statistics

Threads
1,223,238
Messages
6,170,939
Members
452,368
Latest member
jayp2104

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