Multiple column/row data lookup-countif

richiml

New Member
Joined
Dec 10, 2018
Messages
2
Hello everyone,

My target is to generate the data filled in yellow.
Basically: there are certain tests to be performed at certain dates (Table 2), and there are features that will take the results of the tests only at specified dates (Table 3), and a table saying which test is relevant to what feature (Table 1).

At the end, I want to have a table that tells me how many tests that are relevant to a feature, were passed AND failed on the specific dates for each feature from Table 3.

I believe COUNTIFS, INDEX and MATCH might help me do this (along with some CONCATENATE to make the "1 passed, 3 failed" text), but I cannot make it work.

Many thanks in advance!

screenshot.png
 
Last edited by a moderator:

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Here the data:

Table 1feature 1feature 2feature 3feature 4Table 2date Adate Bdate CFeature 1Date A, Date B
VibrationxxxVibrationpassedfailedfailedFeature 2Date A, Date B, Date C
SoundxxxSoundfailedfailedpassedFeature 3Date C
HeatingxHeatingpassedpassedpassedFeature 4Date B, Date C
CommunicationxxxCommunicationpassedfailedfailedDates of the tests that are relevant to each feature (i.e. for "Feature 1", only tests ocurring in dates A & B will be considered)
x means that test will be performed for that feature: (i.e. ALL tests will be performed for "feature 1", but only "Sound" test will be performed for "Feature 2")Dates on which each test was performed, independently of the features, and the outcome of the test
Table 4Feature 1Feature 2Feature 3Feature 4
date A3 passed, 1 failed0 passed, 1 failed
date B1 passed, 3 failed0 passed, 1 failed0 passed, 3 failed
date C1 passed, 0 failed0 passed, 2 failed1 passed, 2 failed
 
Last edited by a moderator:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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