I just tried it this way,
I highlighted rows 2,4,6 yellow and then filled rows 1-6 with the numbers 1,2,3,4,5,6.
Click on Row A, select filter from the data menu.
When you click the little arrow on A, it then gives you an option "Filter by cell colour".
DS