I have a number of cell,say h5 to h11. I need to create a function that carries out an action when any 2 of these cells is less than 1.The numbers are continuously changing.e.g

h5 4
h6 3
h7 1.5
h8 1.7
h9 10
h10 11
h11 2.4

IF function can work IF(AND(H5<1,H6<1),"Yes","No") but this only checks one pair,i need to check many pairs.How do I do it?