COUNTIFS with variable Columns (dates)

Buck4145

New Member
Joined
Sep 10, 2014
Messages
13
Good morning,

I have a spreadsheet that I need to provide stats returns on based on multiple criteria reported by date. I currently have =COUNTIFS('Attendance Tracker'!$H:$H,$A$17,'
Attendance
Tracker'!L:L,$B18) where:
  • 'Attendance Tracker'!$H:$H = Syllabus entry​
  • $A$17 = Syllabus Type
  • 'Attendance Tracker'!L:L = Date column that has Location codes of what school the member attended (this needs to be variable and return against =today()-1 formula)
  • $B18 = Location
This is replicated
with rows for location
by each Syllabus for each month and then feeds into my return to head office which is an Index Match =INDEX(C64:AF64,MATCH($A$1,$C$61:$AF$61,0)) where:
  • the index is the numbers from above by date
  • $A$1 = the =today()-1 formula
  • $C$61:$AF$61 = Date range.
If I can combine these 2 functions so that I only need the head office report this would be great.

Thanks in advance
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,214,976
Messages
6,122,541
Members
449,089
Latest member
davidcom

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