Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9080099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T19:59:47+00:00 2026-06-16T19:59:47+00:00

I love using Google Docs function =importxml() but would love to know if there

  • 0

I love using Google Docs function =importxml() but would love to know if there was anything like it in Excel 2010? I cant seem to find a way for the program to automatically pull data from a linked XML file.

For example, I would love to be able to set up a column with the header “Item Name”, then have the next column append the user-entered item name in the previous column to this url

http://util.eveuniversity.org/xml/itemLookup.php?name=

and then parse the resulting XML file to return the type ID. This is accomplished in google docs using

=importxml(concatenate("http://util.eveuniversity.org/xml/itemLookup.php?name=",A3);"//itemLookup/typeID")

A3 is the column that has the item name, which in this case would be Tritanium, and imports the data form the resulting XML file

http://util.eveuniversity.org/xml/itemLookup.php?name=Tritanium

which returns the value 34.

I have a list of about 20 item names that google docs automatically updates the item ID on every time I open the file. Is there any way for Excel 2010 to replicate this function?

Thanks!

Will

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T19:59:49+00:00Added an answer on June 16, 2026 at 7:59 pm

    You will need to write your own UDF.

    One way would be to use the MSXML2 library, something like this:

    Function GetData(sName As String, sItem As String, Optional sURL = "") As Variant
        Dim oHttp As New MSXML2.XMLHTTP60
        Dim xmlResp As MSXML2.DOMDocument60
        Dim result As Variant
        On Error GoTo EH
    
        If sURL = "" Then
            sURL = "http://util.eveuniversity.org/xml/itemLookup.php?name="
        End If
    
        'open the request and send it'
        oHttp.Open "GET", sURL & sName, False
        oHttp.Send
    
        'get the response as xml'
        Set xmlResp = oHttp.responseXML
        ' get Item'
        GetData = xmlResp.getElementsByTagName(sItem).Item(0).Text
    
        ' Examine output of these in the Immediate window'
        Debug.Print sName
        Debug.Print xmlResp.XML
    
    CleanUp:
        On Error Resume Next
        Set xmlResp = Nothing
        Set oHttp = Nothing
    Exit Function
    EH:
        GetData = CVErr(xlErrValue)
        GoTo CleanUp
    End Function
    

    Call it like this (where A5 contains the required typeName)

    =GetData(A5, "typeID")
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I love Google Guava and use it a lot, but there is one method
Node.js noob. I am using node.io to scrape websites but I would love to
I used to love using IntelliJ but my new company doesn't spend money on
I love LINQ to SQL but it has been bugging me that in using
I would love to sort an embedded MongoDB object using PHP Lithium. I have
I have a c# windows form project using watin. I would love to attach
I love paredit. But there are a couple of things I hate, and have
I have been using Google app engine for ~2 years now and love it.
A friend of mine and I have been using Google Docs for a while
I'm using App Engine python to host an application and would love to use

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.