+ Reply to Thread
Results 1 to 8 of 8

Identify Hostname by finding from a string of IP address in a Cell

Hybrid View

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

    Identify Hostname by finding from a string of IP address in a Cell

    Hi,

    Would like to seek a solution to identify which hostname with given IP address. But the specific IP address is in a string of IPs in a Cell.
    Kindly find the example in attached excel

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,730

    Re: Identify Hostname by finding from a string of IP address in a Cell

    Try:
    Formula: copy to clipboard
    =IF(A12="","",INDEX($A$3:$A$5,MATCH("*"&A12&"*",$B$3:$B$5,0)))
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Identify Hostname by finding from a string of IP address in a Cell

    One way, please try in B12 and copy down:
    Formula: copy to clipboard
    =INDEX(A$3:A$5,MATCH("*"&A12&"*",B$3:B$5,0))
    and try in C12 and copy down:
    Formula: copy to clipboard
    =INDEX(C$3:C$5,MATCH("*"&A12&"*",B$3:B$5,0))
    Attached Files Attached Files

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Identify Hostname by finding from a string of IP address in a Cell

    maybe Power Query

    IP address Given Host
    10.16.123.423 Hostname1
    13.122.77.45 Hostname2

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

    Re: Identify Hostname by finding from a string of IP address in a Cell

    Thank you all for the speedy solution. It's saves my work in searching for the IP address.

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Identify Hostname by finding from a string of IP address in a Cell

    You are welcome
    Have a nice day

  7. #7
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Identify Hostname by finding from a string of IP address in a Cell

    You are welcome, thanks for the fedback and rep .

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,730

    Re: Identify Hostname by finding from a string of IP address in a Cell

    You're welcome. Thanks for the rep.

+ 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. Replies: 1
    Last Post: 04-15-2020, 03:19 PM
  2. [SOLVED] Find Hostname and Application from a list of IP address from Merged Cell
    By suchetherrah in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-16-2016, 11:57 AM
  3. need a way to find the IP address from a hostname in excel
    By sdubicki in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-29-2014, 03:36 PM
  4. [SOLVED] (1) Identify address which contains a certain string; (2) Way to condensate multiple IF
    By Lethe in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-18-2012, 04:34 AM
  5. Looking for PING with Hostname and MAC address
    By blobberthrhino in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-16-2011, 06:26 PM
  6. how to identify a cell address
    By Alex in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-02-2006, 03:40 PM
  7. Get IP address for a remote computer based on its hostname
    By stabilo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-14-2006, 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