Hi everyone,
I am trying to find a way to go through a list of around 18'000 applications and identify in which of the 2'000 IP Sublets (ranges) they fit in. So far I thought of 2 options, but both go beyond my skills so help would be greatly appreciated. To make it easier the output below only mentions 7 applications and 5 zones.
1. turn all the primary IP addresses into numbers (done) and then find a way (probably a index/match/if/and formula) to identify which IP falls into which subnet (number between numbers) and then retrieve the name of the associated security zone.
2. create a list with all the IPs imaginable and then find a way to go through the list of primary and secondary IPs, retrieve the name of the application... then turn the IPs into numbers and find a way to identify which of them falls into which subnet and then retrieve the name of the security zone.
The 2nd option seems far more precise, but both go beyond my excel skills when needing to find a number between 2 numbers and get the name of the security zone.
A
B C D 1
Application name
Primary IP Address Primary IP into Number Secondary IP 2
Application 1 10.100.1.15 10,100,001,015 3
Application 2 10.100.1.73 10,100,001,073 4
Application 3 192.168.20.55 192,168,020,055 5
Application 4 83.1.25.10 83,001,025,010 83.1.25.97, 83.1.25.103, 83.1.25.209 6
Application 5 109.11.93.195 109,011,093,195 7
Application 6 83.1.25.15 83,001,025,015 8
Application 7 109.11.93.199 109,011,093,199 109.11.93.200, 109.11.93.201
F G H I J 1
Security zone IP Range start IP Range end Range start into number Range end into number 2 Internet-Zone 2 83.1.25.0 83.1.25.255 83,001,025,000 83,001,025,255 3 Internal-voip 10.100.1.64 10.100.1.127 10,100,001,064 10,100,001,127 4 DMZ 192.168.20.0 192.168.20.255 192,168,020,000 192,168,020,255 5 Internet-Zone 1 109.11.93.192 109.11.92.255 109,011,093,192 109,011,092,255 6 Internal-restricted 10.100.1.0 10.100.1.63 10,100,001,000 10,100,001,063
Desired table
A B C 11
Application name
IP Address Security zone 12 Application 1 10.100.1.15 Internal-restricted 13 14
Thanks in advance !
Cross post without links http://www.msofficeforums.com/excel/...html#post84167
Bookmarks