![]() |
#1
|
|||
|
|||
![]()
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 BCD1 Application name Primary IP AddressPrimary IP into NumberSecondary IP2 Application 110.100.1.1510,100,001,015 3 Application 210.100.1.7310,100,001,073 4 Application 3192.168.20.55192,168,020,055 5 Application 483.1.25.1083,001,025,01083.1.25.97, 83.1.25.103, 83.1.25.2096 Application 5 109.11.93.195109,011,093,195 7 Application 683.1.25.1583,001,025,015 8 Application 7109.11.93.199109,011,093,199109.11.93.200, 109.11.93.201 FGHIJ1 Security zoneIP Range startIP Range endRange start into numberRange end into number2Internet-Zone 283.1.25.083.1.25.25583,001,025,00083,001,025,2553Internal-voip10.100.1.6410.100.1.12710,100,001,06410,100,00 1,1274DMZ192.168.20.0192.168.20.255192,168,020,000192,16 8,020,2555Internet-Zone 1109.11.93.192109.11.92.255109,011,093,192109,011, 092,2556Internal-restricted10.100.1.010.100.1.6310,100,001,00010,10 0,001,063 Desired table ABC11 Application name IP AddressSecurity zone12Application 110.100.1.15 Internal-restricted13 14 Book1.xlsx Thanks in advance ! |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to find number of coma and then add that number of rows in word using macro? | PRA007 | Word VBA | 7 | 05-27-2015 10:45 PM |
![]() |
carrolld2 | Excel | 5 | 06-28-2014 05:43 PM |
Find and Delete Rows based on a range | damaniam | Excel Programming | 2 | 03-12-2014 06:06 AM |
![]() |
dmarie123 | Word VBA | 15 | 04-02-2013 07:54 AM |
Find and Replace within range | anil3b2 | Word VBA | 3 | 12-01-2010 02:35 AM |