Countifs question

jjenkins104

New Member
Joined
Jan 3, 2025
Messages
1
Office Version
  1. 2024
Platform
  1. Windows
Hi, can someone please help a guy out? I am trying to create a countifs formula that will tell me how many full tasks Bill completed in the month of January.

1735938980733.png
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Welcome to the Board!

With COUNTIFS, you can have multiple conditions. So you can check by user and by dates.
This link shows you how to get the count between two dates: Count cells between dates
 
Upvote 0
Hi, can someone please help a guy out? I am trying to create a countifs formula that will tell me how many full tasks Bill completed in the month of January.

View attachment 120903
Hello Jenkins,

Welcome to the forum. It's best to share your sample data using the forums Excel Add-In here:
Admin credentials aren't required.

However, I have something that might work for you. I just cobbled it together from an Attendence Tracker I created a few months ago... with help I've learned from here. @Joe4 being one of them. (y)

Just Copy/Paste this into a new sheet and play with it's functionality. I'm using drop-down lists to make selecting your criteria a little bit easier. Right now, your request describes a solution that hardcodes the Name and Type into the formula. The year can just be entered normally.
Select Month, Name and Type from their respective drop-down lists, and your results will be counted.

VBA Testing.xlsm
EFGHIJKLMNOP
1DateNameTypeYear:2025MonthsNamesType
22025-01-25BillFullMonth:JanuaryJanuaryBillFull
32025-01-11BillPartialName:BillFebruaryJimPartial
42025-01-30BillFullType:FullMarch
52025-01-19BillFullTotal:5April
62025-01-02JimFullMay
72025-01-30BillPartialJune
82025-01-19BillFullJuly
92025-01-02JimPartialAugust
102025-01-30BillFullSeptember
11October
12November
13December
Count
Cell Formulas
RangeFormula
J5J5=LET( StartDate, DATE($J$1,$J$2,1), EndDate, DATE($J$1,$J$2,EOMONTH(DATE($J$1,$J$2,1),$J$2)), Name, $J$3, Type, $J$4, COUNTIFS(t_Tasks[Date],">="&StartDate,t_Tasks[Date],"<"&EndDate,t_Tasks[Name],"="&Name,t_Tasks[Type],"="&Type))
Cells with Data Validation
CellAllowCriteria
J2List=INDIRECT("t_Months[Months]")
J3List=INDIRECT("t_Names[Names]")
J4List=INDIRECT("t_Type[Type]")
 
Upvote 0
I would recommend creating a Sheet called Lists and putting those lists (Months, Names and Type) on that Sheet.
They don't need to be seen. Just keep those tables/lists updated with new critieria so they are available in the drop-down lists.
They don't sort automatically, so be sure to sort those List/Tables as you add new data to them.
 
Upvote 0

Forum statistics

Threads
1,225,738
Messages
6,186,734
Members
453,369
Latest member
juliewar

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