Filtering Data Validation List based on Offset Value

Noodnutt

New Member
Joined
May 31, 2020
Messages
8
Office Version
  1. 2013
  2. 2010
Platform
  1. Windows
Hi Team

I have seen a few posts regarding Dependent Lists and the use of Indirect, but they don't seem to fit what I am trying to achieve, either that it's likely I am not grasping the concept.

I tried the following combination:
=COUNTIF(OFFSET('List Ref.'!$C$3,,,COUNTA('List Ref.'!$C:$C)-1),EmpStatus="L")
=COUNTIF(EmpStatus,"L",OFFSET('List Ref.'!$C$3,,,COUNTA('List Ref.'!$C:$C)-1))

1608697046353.png


Essentially, I have a Dynamic Data Validation List which works as expected, but I am trying to expand it to filter the list based on the drivers EmpStatus = "L" (Live) so that any drivers with "X" do not appear in the list.

I vetted the following image to represent what I would like to achieve.

1608697320912.png

As always, TIA.

Regards
Mark.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
If you selected "Driver A" from the drop down in column C, you would see only row 2. If you selected "Driver D" from the drop down in column C, you would not see any row. Is this correct?
 
Upvote 0
You can create a list in another column & use that like
+Fluff v2.xlsm
ABCDEFGH
1List
2Driver 1Driver 1L
3Driver 2Driver 2L
4Driver 3Driver 3L
5Driver 5Driver 4X
6Driver 6Driver 5L
7Driver 7Driver 6L
8Driver 10Driver 7L
9Driver 11Driver 8X
10 Driver 9X
11 Driver 10L
12 Driver 11L
13
14
Master
Cell Formulas
RangeFormula
A2:A12A2=IFERROR(INDEX($C$2:$C$100,AGGREGATE(15,6,(ROW($C$2:$C$100)-ROW($C$2)+1)/($H$2:$H$100="L"),ROWS(A$2:A2))),"")
Named Ranges
NameRefers ToCells
Driver_List=OFFSET(Master!$A$2,,,COUNTIF(Master!$A$2:$A$30,"?*"))A2:A12
Cells with Data Validation
CellAllowCriteria
B2List=Driver_List
 
Upvote 0

Forum statistics

Threads
1,214,561
Messages
6,120,239
Members
448,951
Latest member
jennlynn

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