I have a giant excel document that contains a list of IPs, but there are also entries that have subnets. So for example, I might see "IP" "/16" and the first two octets would be the first two octets of the subnetted IP. What I'm wondering is if there is any way with excel I can check if the first two octets of an IP MATCH one of the rows with an /16 subnet. Basically I want to know if there is a way to find entries that override each other. Ex 192.168.1.1 192.168.0.0 /16, the 192.168.1.1 would be highlighted red or whatever. I know you would use an if, or at least I think, but I can't figure out how I would split the two octets and compare them, and also factor in the fact that the one it needs to be compared with has to have an "/16" in the same row.Any help would be greatly appreciated, and if this makes no sense whatsoever, comment and I'll try to clarify.Thanks!
↧