This is the same logic just as TMS done with a different formula for the Named Range. This just shows a second way to create the dynamic criteria range. I'm not saying better, just different.
Named Range: CFList......
Formula:
=OFFSET(Sheet2!$A$1,0,0,COUNTA(Sheet2!A:A))
Conditional Format formula:
Formula:
=COUNTIF(CFList,A2)
This is the same as TMS just to show that the named range, CFList on Sheet2 works.
The use of a dynamic list for the criteria allows you to add or subtract from the criteria listing as required. There are a lot of applications for dynamic ranges so it is worth while checking out how they work.
Bookmarks