INDEX, MATCH type COUNTIF/SUMIF issue.

MrKris

New Member
Joined
May 18, 2020
Messages
7
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Hi everyone,

Last time I reached out to you, I felt the love with so many responses so quickly.

I am a teacher and I’m trying to look for ways to streamline my duties.

I'm currently reviewing the courses I teach - focussing on equipment used, and duration for each module.
I have been asked to report the number of reviews I have carried out on a course by course basis (however my courses consist of some common modules).
Essentially I'm trying to write a formula in R4 that will take the modules which are in Course A, and count if the corresponding row has an x (indicating I need to conduct a review of the module).

There are 3 possible equipment checks, and 3 duration checks which may be completed (Column I-K and Column L-N).
Each course is made up of a selection of standardised modules as indicated by the course matrix. The formula in Q2 works, and might be a clue how to solve this problem. In Q2 we have a SUMIF, but in R2 we need to COUNTIF. Simply changing it doesn't work, please help.
I have shown the stages of the calculation on the next tab - displaying progression.

Here’s a sample version of the type of data I’m working with. Please help!

Cheers,
MrKris
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
How about
=SUMPRODUCT((INDEX($D$3:$H$10,,MATCH(P2,$D$2:$H$2,0))="x")*($I$3:$K$10="x"))
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,252
Members
452,623
Latest member
Techenthusiast

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