Could you please show us where Guido's formula does not work for you?Hi, I must thank you for your kind reply and suggested solution. I tried but the desired outcome is not achieved. For Small medium enterprises, I have to keep ranges such as more than 250 and less than 5000 for employee count, market cap should be more than 1000 and less than 10000. Humble regards