I want to generate a specific range of IP from 192.168.1.0
to 192.168.255.255
How can I do that job in Microsoft Excel?
I used these formulas, but not work for all range of IP address:
Excel IP Addresses Increment the Third Octet
="10.1."&ROWS($A$1:A1)&".1"
Excel IP Addresses Increment the Fourth Octet
="10.1.1."&ROWS($A$1:A1)
First loop:
run the fourth octet from 0 to 255 -Second loop:
once the fourth octet reaches 255, reset the variable for the fourth octet to 0 and add 1 to the variable for the third octet -Third loop:
when your variable for the third octet reaches 255, exit the loop. Structure beingthird loop>second loop>first loop