+ Reply to Thread
Results 1 to 11 of 11

Match Hostname to find data from multiple worksheets

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

    Match Hostname to find data from multiple worksheets

    Hi,

    Management has given a challenge to find the new IP address and it's information matching with Hostname.

    The challenge is the team as created various worksheet names which is really massive and has different name too in 1 file which I couldn't even list them.
    If i use vlookup or index/match, I need to list all the worksheet names, correct?

    Attached is the sample file.

    Can anyone please advise?
    Attached Files Attached Files

  2. #2
    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
    30,884

    Re: Match Hostname to find data from multiple worksheets

    You need to ensure All the tabs have data in the same column: you don't have "Original IP address" in 2 of the tabs so please add so we can have consistent "lookups".

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

    Re: Match Hostname to find data from multiple worksheets

    Understood, I have removed the columns accordingly and reattached the file.
    All the IP addresses which I need to identify are in Column A.
    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
    30,884

    Re: Match Hostname to find data from multiple worksheets

    With standard format on all sheets:

    in RESULTS

    in G5

    Please Login or Register  to view this content.


    in C6

    Please Login or Register  to view this content.
    copy across to F

    in H6

    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    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
    30,884

    Re: Match Hostname to find data from multiple worksheets

    My last post has IP address added: you will need to adjust formulae if it removed as per your last post.

    Change $C$2:$C$1000 to $B$2:$B$1000
    Attached Files Attached Files
    Last edited by JohnTopley; 05-14-2017 at 05:57 AM.

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

    Re: Match Hostname to find data from multiple worksheets

    Hi John,

    Thank you, John. The challenge is the team has created about 40 to 50 sheets (Not sure how many) which I have difficulty in identifying one by one.
    Is there a way to identify the active sheets using a formula?

    I also need your advise where the team has given me 3 workbooks which has similar field names to locate the IP address from either one of the workbooks.
    (Location1 IP List.xlsx, Location2 IP List.xlsx. Location2 IP List.xlsx).

    It will be a great help coz we are organizing the inventory of the servers.
    Really need your advise and assistance, sir.
    Attached Files Attached Files

  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
    30,884

    Re: Match Hostname to find data from multiple worksheets

    Multiple Sheets in a Workbook are catered for by the "Sheetlist" named range. I forgot to mention this in my previous post.

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

    Re: Match Hostname to find data from multiple worksheets

    So I have the manually identify and create the sheetlist as legend?
    But I have 40 to 50 active worksheets in each file.

    Is there a formula to identify the sheetlist?

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

    Re: Match Hostname to find data from multiple worksheets

    Any advise, on how to identify the 40 to 50 Sheetlist names, please?

  10. #10
    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
    30,884

    Re: Match Hostname to find data from multiple worksheets

    No formula I am aware of: you could use VBA to build the list.


    list sheet names in column A


    Please Login or Register  to view this content.

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

    Re: Match Hostname to find data from multiple worksheets

    The above solution is working for a single workbook. If I need to find the IP address from 3 different workbooks, should use VBA coding?

    Should I open a different thread?

+ 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. [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
  2. Lookup Hostname and retreive data based on match
    By fish221171 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-25-2016, 06:44 AM
  3. [SOLVED] vba to to find match between columns in different worksheets, and copy relevant data
    By Adlee in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-20-2016, 04:23 PM
  4. 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
  5. FIND & MATCH - Multiple workbooks & worksheets
    By ngocpdn in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-09-2013, 06:13 PM
  6. [SOLVED] Find and copy exact match across multiple worksheets
    By sandeepafpl in forum Excel General
    Replies: 2
    Last Post: 08-17-2012, 09:19 AM
  7. [SOLVED] Find and sum the exact match across multiple worksheets
    By sandeepafpl in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-10-2012, 01:07 AM

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