I was trying to do something sort of related, that might be helpful here. What about "SPLIT(" and "JOIN("?
I used them to break apart an IP address and MASK to do some things. But, now I want do do the same thing. Actually... if I have any IP address and apply a mask to it, I want the range that IP/MASK pair would use.
So, here is the core of my thought (done in Excel 2010):
Basically, an IPV4 address is like a 4-digit Base255 number. My code will die horibly if the +1 should cause a 'carry'. But, I'll figure that out later. Right now, my data will never do that to me.
I will followup with anything I figure out.
Bookmarks