Col A. Col B.

0.123 X
1.265 Y
1 Z
3 X
2 Y
1.33 Z

How can i filter Col B that only contains a criteria of "X" & "Y" and has a value of a decimal or a whole number with a decimal values in column A and highlight using macro.

thanks.

Appreciate your ideas.