INDEX(MATCH with Multiple Match criteria between sheets

jn82740

New Member
Joined
Jun 22, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I have 2 sheets: The first is a sheet that contains job roles across columns B - G. In column A down the right hand side I have different training modules. The matrix is populated "Required" if a Training module is required for each of the job roles under columns B-G. See below:


The second sheet has info of staff including job role and expiry dates for training. See below:

I would like a formula that can be entered into the cells that will look up the job role and return "Required" under the training header if the member of staff in that job potion requires the training as per sheet 1.
I have tried =INDEX($B:$G,MATCH(1,(C2=B3:G3)*(V1=$A),0))

Any help?
 
Last edited by a moderator:

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
try
=INDEX(sheet1!$D$6:$H$100,MATCH(V$1,sheet1!$A$6:$A$100,0),MATCH($C2,sheet1!$D$3:$H$3,0))

i have made up a small mock-up on 1 sheet , as recreating all that info - is quite time consuming and prone to error

on the sheet you should be able to change to match your actual shets

Book7
ABCDEFGHIJKLMNOPQ
1firstnamesurnamejobroletraining-1training-2training-3
2job-title-50required0
3Job-Title-1Job-Title-2Job-Title-3Job-Title-4Job-Title-5job-title-1required00
4job-title-50required0
5
6Training-1required
7Training-2required
8Training-3required
9
10
Sheet1
Cell Formulas
RangeFormula
O2:Q4O2=INDEX($D$6:$H$8,MATCH(O$1,$A$6:$A$8,0),MATCH($N2,$D$3:$H$3,0))


Note: Images are difficult to see , and also requires that I input all the data myself, which means I may make an error, which is very time consuming, and from my point of view less likely to get a response, if a complicated spreadsheet. Plus we cannot see any of the formulas used.

Therefore -

A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

This will possibly enable a quicker and more accurate solution for you.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC

then put the sample spreadsheet onto a share

I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed

Make sure you set any share or google to share to everyone

--
 
Upvote 1

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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