-------------------------------------------------------------------------------------------------
I modified your formula to create conditional formatting to ensure the existing/left-over value in a dependent, cascading drop down cell (E2) is valid after the controlling cell value (A2) changes.
The formula I used must be dynamic. It refers to a Named Range by concatenating: "CUSTNAMES_"&$A$2.
The Conditional Formatting worked in E2 when I originally set it up, but when I tried to replicate it in another cell (E6), the new formula failed.... and, upon checking, the original CF I created in E2 failed too.
The formulas I used to create the CF are below. A2 is a controlling Drop Down dictating the Data Validation lists in E2, E6 and several other locations in the worksheet.
CF applied to cell E2: =ISERROR(VLOOKUP(E2,"CUSTNAMES_"&$A$2,1,0))
CF applied to cell E6: =ISERROR(VLOOKUP(E6,"EECLASS_"&$A$2,1,0))
I tried creating the formula in a regular cell to troubleshoot. The formula only works when I spell out the named range but not when I concatenate.
I am not sure if it matters, but I did use the same concatenate approach to create the INDIRECT cascading drop down lists in the cells that need the Conditional Formatting. Not sure why concatenating works in the Data Validation but not in Conditional Formatting.
Thanks for any help and suggestions you might be able to send my way.
Bookmarks