+ Reply to Thread
Results 1 to 9 of 9

Return 1st occurrence of IP address and Location

  1. #1
    Forum Contributor
    Join Date
    05-22-2015
    Location
    Malaysia
    MS-Off Ver
    MS365
    Posts
    197

    Return 1st occurrence of IP address and Location

    Hi,

    Would like to find the first occurrences of Upstream IP address and location. Results shown is highlighted in Green.

    Attached is sample file for your review.

    Can anyone help, please. Thank you.
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,118

    Re: Return 1st occurrence of IP address and Location

    There is very little green shading in your sheet. I have no idea where the expected results are, or are meant to be, and have no idea what you want. Can you actually explain your request?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Contributor
    Join Date
    05-22-2015
    Location
    Malaysia
    MS-Off Ver
    MS365
    Posts
    197

    Re: Return 1st occurrence of IP address and Location

    I'm sorry, Shall reattach the file.
    Column A to E is the Expected Result.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,293

    Re: Return 1st occurrence of IP address and Location

    From Glenn ...post #2

    Can you actually explain your request?

    Your file does not explain how you arrive at your results.

    e.g. .....Upstream IP address and location ... what are these?

  5. #5
    Forum Contributor
    Join Date
    05-22-2015
    Location
    Malaysia
    MS-Off Ver
    MS365
    Posts
    197

    Re: Return 1st occurrence of IP address and Location

    From the file

    The raw data has 3 column each, IP address, Leg and Location. Each row consist of US, DS, Mgmt, Bck legs and the correspond Location

    I found out that there are 2 sets of US of IP address, I just need the 1st occurrences only.

    In the green column (1st 2 columns) are the expected results to retrieve the first occurrence of US and location.
    In red are the data need to be identified.

    I have reattached the file.

    Thank you.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    05-22-2015
    Location
    Malaysia
    MS-Off Ver
    MS365
    Posts
    197

    Re: Return 1st occurrence of IP address and Location

    Sorry for not explaining,

    I have explained and attached a new file. Can anyone please help?

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,293

    Re: Return 1st occurrence of IP address and Location

    Why is the "raw data" not in a single set of columns D:F: having the data organised as you have makes things much more difficult

  8. #8
    Forum Contributor
    Join Date
    05-22-2015
    Location
    Malaysia
    MS-Off Ver
    MS365
    Posts
    197

    Re: Return 1st occurrence of IP address and Location

    These are the data pull out from tools servers and all the IP addresses are combined into 1 cell for each hostname (there are 3000 hostnames). These IP address did not identify which leg. So I used text columns to break into difference columns to be intact with the hostname. So, I have managed to identify the respective legs using the network segments. The attached is sample file which I have identify the legs.

    If i set single set of columns, then the hostname will get repeated.

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,293

    Re: Return 1st occurrence of IP address and Location

    I think this will require VBA and the output will be a single list of the required IP addresses (not formatted as your results).

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Lookup IP address in Subnet, return location
    By christy4370 in forum Excel General
    Replies: 5
    Last Post: 04-13-2016, 05:18 AM
  2. [SOLVED] Lookup return occurrence value 1st,2nd and 3rd
    By silambarasan.J in forum Excel General
    Replies: 9
    Last Post: 01-20-2016, 12:00 PM
  3. [SOLVED] finding address of nth occurrence of text within sheet including selected variations.
    By Kramxel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-24-2015, 05:00 AM
  4. Find address and return GPS location from another sheet
    By shelbygt500 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2014, 04:35 AM
  5. IP address lookup - return city location
    By rtcwlomax in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-17-2013, 02:15 PM
  6. Location of the last occurrence of month in range
    By Hudas in forum Excel General
    Replies: 10
    Last Post: 02-27-2012, 10:34 AM
  7. Return First Occurrence
    By ComradeBT in forum Excel General
    Replies: 12
    Last Post: 07-29-2010, 03:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1