Count / sum cells based on 2 criteria

Paul Naylor

Board Regular
Joined
Sep 2, 2016
Messages
98
Office Version
  1. 365
  2. 2003 or older
Platform
  1. Windows
  2. Mobile
  3. Web
Hi Hoping someone can help

Trying to measure downtime.
Got a list of colleague names column E
Date issue reported cilumn F
Downtime in mins column M
Managed to work out total no issues & downtime per colleague and total no issues / downtime for yesterday & today , but struggling to identify no issues and downtime for today & yesterday per colleague ( colleague names in column Q, No issues reported today column T, total downtime today column u

Formula for no issues reported by colleague column T
=COUNTIFS($F2:$F1000,"=TODAY()",$E2:$E1000,Q2) but getting #NAME?

Also need a SUM formula to sum up the total downtime for each colleague for today ( columns as per anove colleague names in column E, dates column F , downtime values column M, colleague lookup column Q
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
change to
=COUNTIFS($F2:$F1000,TODAY(),$E2:$E1000,Q2)
 
Upvote 0
Hi Still getting #Name?. Forgot to mention that using excel 97 ( works PC).
Also will the above only catch cells which contain both today's date and names or today's date and all columns containing their names?
 
Upvote 0
it will only match where a row matches todays date AND whatever you have in Q2
I dont think Countifs works with Excel 97
you do mean the 1997 versions ???? thats very old
 
Upvote 0
Countifs I think came in in EXCEL version 2007

TRY
=SUMPRODUCT(($F2:$F1000=TODAY())*($E2:$E1000=Q2))

NOT Sure what functions work in Excel 97
 
Upvote 0
That's great. How do I them incorporate this to display total downtime for each colleague for today column M, presume need some sort of SUMIF formula where E2:E1000 =q2 and date column F = today's date then sum downtime values for this colleague in column M
 
Upvote 0
think worked it out. Just need to add *($M2:$M1000)/60 for hrs.
Thanks for all youre help, dont think I'd been able to work it out without youre support!!!!
 
Upvote 0

Forum statistics

Threads
1,214,533
Messages
6,120,076
Members
448,943
Latest member
sharmarick

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