IF formula with exception

Ward80

New Member
Joined
Aug 4, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I'm trying to create a spreadsheet to help with training resource. It's based on the type of training, the specific training course, the location of the training and the trainer who can deliver it.
I've got 4 fields at the minute. Type - which is a simple drop down list. Course - which is a dependent drop down based on the Type selected. Location which is a drop down list. Trainer - only certain trainers can deliver particular courses so this is a drop down based on the Type. The formula I've used for the trainer drop down is : =IFERROR(INDEX('Raw Data'!$B$2:$B$49, SMALL(IF($B$1='Raw Data'!$A$2:$A$49, MATCH(ROW('Raw Data'!$A$2:$A$49), ROW('Raw Data'!$A$2:$A$49)), ""), ROW(A1))), "")
Raw data column A is Type, column B is Trainer.
So far so good, this formula is working BUT I need an exclusion - certain trainers have said they will only work at certain locations. This data is held in column C on the raw data sheet. How can I change my formula so that the trainer drop down will only show the trainers qualified to deliver the type of course if it's at a location they've said they're happy to work from? I've tried this formula but no joy : =IF(B3="", FILTER('Raw Data'!B2:B49,'Raw Data'!A2:A49=B1),FILTER('Raw Data'!B2:B49,'Raw Data'!A2:A49=B1,'Raw Data'!C2:C49<>B3))
 

Attachments

  • training.PNG
    training.PNG
    14.9 KB · Views: 14

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,214,978
Messages
6,122,549
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