Select By Material allows you to select objects based on the active material in the Material Editor. This command is unavailable unless the active sample slot contains a material used in the scene.
Choosing this command opens the Select Objects dialog, which works like Select From Scene. Objects that have the selected material applied to them are highlighted in the list. The Slate Material Editor preferences controls whether hidden and frozen objects are included.