Do you want to exclude the IP addresses only when a machine has more than 1 assigned?
What if there is a machine which has only one IP address assigned and that falls in your exclusion range?
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/