+ Reply to Thread
Results 1 to 23 of 23

#NAME? Error with Excel 2013

  1. #1
    Registered User
    Join Date
    02-21-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2014
    Posts
    14

    #NAME? Error with Excel 2013

    Hello Excel Forum community,

    I'm experiencing a difficulty within Excel 2014, it's really bothering me and I'd like your help on fixing this.

    I made a spreadsheet for a game called EVE Online which allows me to view current market prices and with that calculate my profit made per item. I don't think I have to go into details on this, because it's all pretty obvious. The thing is, I made it on Google Docs and it works there. When I tried to import it so that I could use it with Excel 2014 (to remove the limited amount of XML imports) it gave me the #NAME? Error.

    The Google Doc version is here:
    https://docs.google.com/spreadsheet/...rive_web#gid=0

    I use the command "=ImportXML(CONCATENATE(Sell_Swap,TypeID&JOIN(TypeID,$C3:$C26)), "//sell/min")" to calculate the sell price (and the buy price is the exact same, instead "//buy/max" at the end.

    When I try the EXACT same thing in Excel 2014, it spits out the #NAME? error.

    Is there anyone that can help me with this issue?

    Yours sincerely,

    Floris.


    EDIT:

    Thank you for all your replies and input. I have now added the workbook to this post. (Named "Market").
    If you look at the bottom of the excel sheet at the "Ferox" line, you see a simpler version of the formula that I was trying to accomplish. The formula at the bottom correctly retrieves the information I need.
    The formula at the top doesn't do what I want, and I can't understand what.

    What the top formula should be able to do is as follows:

    Depending on what the current swap group is (Jita Sell/Amarr Sell/Dodixie Sell/Rens sell) it should retrieve different information that you can see in the "Math" tab.
    It should put together the TypeID with the url (that you can see in the bottom formula). I hope I've made this clear enough.

    Anyone that can solve this riddle?
    Attached Files Attached Files
    Last edited by xMaximus; 02-22-2014 at 09:12 AM. Reason: Wrong excel version, sorry.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: #NAME? Error with Excel 2014

    There is no ImportXML function in Excel. You may be able to use FilterXML...

    There is no JOIN worksheetfunction, either.

    I can't access your Google Docs spreadsheet, it needs a login.

    And what is Excel 2014?
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    02-21-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2014
    Posts
    14

    Re: #NAME? Error with Excel 2014

    Hello Olly,

    Thank you for replying to my queston. Could you try this link instead: https://docs.google.com/spreadsheet/...0E&usp=sharing
    When I try the "FilterXML" command instead of "ImportXML" it still gives me the exact same error.

    What would I need to replace JOIN with? I'm a bit out of depth with this things.

    Apologies, it's Excel 2013!

  4. #4
    Registered User
    Join Date
    02-21-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2014
    Posts
    14

    Re: #NAME? Error with Excel 2013

    Anyone else that has a clue?

  5. #5
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: #NAME? Error with Excel 2014

    How about you put it into Excel and attach it, rather than Google docs (which I still can't access without logging in, and I won't...)
    then make clear what you're trying to achieve...

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: #NAME? Error with Excel 2014

    Please upload your sample workbook to the forum. many members are unable (or unwilling) to download files from file-hosting sites.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: #NAME? Error with Excel 2014

    JOIN(TypeID,$C3:$C26) creates an array of whatever is in those cells with what's in named range typeID as a delimiter
    so say

    =JOIN(TypeID,$C1:$C3) and typeid referred to a named cell eg D1
    put an x in D1 and martin 1,martin 2,martin 3
    in $C1:$C3 the output would be

    martin 1xmartin 2xmartin 3
    to replicate that in excel you would have to concatenate all the cells individually
    ie
    =C1&D1&C2&D1&C3&D1
    Last edited by martindwilson; 02-21-2014 at 06:35 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  8. #8
    Registered User
    Join Date
    02-21-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2014
    Posts
    14

    Re: #NAME? Error with Excel 2014

    Thank you for your replies, I really appreciate it. I have added the workbook to my post, and I've edited the original post to add a bit of information.

    I hope the sheet is clear enough to understand.

  9. #9
    Registered User
    Join Date
    02-21-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2014
    Posts
    14

    Re: #NAME? Error with Excel 2013

    Changed the title, had the wrong version in there. I'm using Excel 2013.

  10. #10
    Registered User
    Join Date
    02-21-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2014
    Posts
    14

    Re: #NAME? Error with Excel 2013

    Anyone any ideas?

  11. #11
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: #NAME? Error with Excel 2013

    have you tried replicating the join bit as instructed?
    have you tried it without using concatenate or join and just typed the whole thing out manually to see if it works at all?

  12. #12
    Registered User
    Join Date
    02-21-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2014
    Posts
    14

    Re: #NAME? Error with Excel 2013

    Quote Originally Posted by martindwilson View Post
    have you tried replicating the join bit as instructed?
    have you tried it without using concatenate or join and just typed the whole thing out manually to see if it works at all?
    I tried removing "&JOIN", "JOIN"(without the &).
    When I removed "&JOIN" it gave me the "#REF!" error.
    When I removed just the "JOIN", it gave me the "#VALUE!" error.

    Any other ideas?

  13. #13
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: #NAME? Error with Excel 2013

    =ImportXML("http://api.eve-central.com/api/marketstat?usesystem=30000142&typeid=24692", "//sell/min") works in goggle docs
    its what the =ImportXML(CONCATENATE(Sell_Swap,TypeID&JOIN(TypeID,$C3)), "//sell/min") generates
    does it work with FilterXML in excel?
    if if does youll have to create your string with excel functions only

  14. #14
    Registered User
    Join Date
    02-21-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2014
    Posts
    14

    Re: #NAME? Error with Excel 2013

    Quote Originally Posted by martindwilson View Post
    =ImportXML("http://api.eve-central.com/api/marketstat?usesystem=30000142&typeid=24692", "//sell/min") works in goggle docs
    its what the =ImportXML(CONCATENATE(Sell_Swap,TypeID&JOIN(TypeID,$C3)), "//sell/min") generates
    does it work with FilterXML in excel?
    if if does youll have to create your string with excel functions only
    Can you download the workbook supplied in the original post, and help me out with it? Because I haven't got a clue on how to fix it.

    When I try to insert =FilterXML("http://api.eve-central.com/api/marketstat?usesystem=30000142&typeid=24692", "//sell/min") in to the spreadsheet, it gives me the "#VALUE!" Error.

  15. #15
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: #NAME? Error with Excel 2013

    haven't got 2013 i dont think the functionality exists import xml and the way it works looks to be specific to google docs
    maybe it can be done with code. ill ask elswhere dont forget not everything that works in google docs works in excel and vica versa and often has to be written as a udf in excel .

  16. #16
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: #NAME? Error with Excel 2013

    From:
    http://stackoverflow.com/questions/1...rtxml-in-excel

    You could try using the user-defined-function below.

    Please Login or Register  to view this content.
    and set a reference to microsoft xml

  17. #17
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: #NAME? Error with Excel 2013

    Will C3 be:
    =FILTERXML(WEBSERVICE(CONCATENATE(Sell_Swap,TypeID,B3)),"//sell/min")
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  18. #18
    Registered User
    Join Date
    02-21-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2014
    Posts
    14

    Re: #NAME? Error with Excel 2013

    Quote Originally Posted by Izandol View Post
    Will C3 be:
    =FILTERXML(WEBSERVICE(CONCATENATE(Sell_Swap,TypeID,B3)),"//sell/min")
    Omg you fixed it! :D It works now, you're a genius. I haven't a clue on what you fixed, but... yeah it works now Thank you so much.

    One more question though: how can I update the prices? Right now, the only way to 'refresh' the prices is to delete the name and then press CTRL Z so that it pastes back the name...
    Is there a way I can automatically refresh/update the prices every X minutes?

  19. #19
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: #NAME? Error with Excel 2013

    ha never heard of webservice()!

  20. #20
    Registered User
    Join Date
    02-21-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2014
    Posts
    14

    Re: #NAME? Error with Excel 2013

    The only issue I have now is that the prices don't update consistently.
    I have to remove the names and reinsert them for it to refresh it's data.

    Is there an easier way of letting it auto-update?

  21. #21
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: #NAME? Error with Excel 2013

    I think you must use Ctrl+Alt+f9 or perhaps you may add +NOW()*0 and then only use f9 to recalculate.

  22. #22
    Registered User
    Join Date
    02-21-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2014
    Posts
    14

    Re: #NAME? Error with Excel 2013

    Quote Originally Posted by Izandol View Post
    I think you must use Ctrl+Alt+f9 or perhaps you may add +NOW()*0 and then only use f9 to recalculate.
    You.... Are an Excel God. Thank you! Have my reputation! =D

  23. #23
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: #NAME? Error with Excel 2013

    You are welcome. Thank you also.

+ 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. Call in the Cavalry - 2014
    By JBeaucaire in forum The Water Cooler
    Replies: 351
    Last Post: 01-06-2015, 07:56 PM
  2. [SOLVED] Formula not working on 1st January 2014 ???
    By H28Sailor in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-01-2014, 10:07 PM
  3. [SOLVED] 2014 budget spreadsheet with conditional formulas
    By 6string in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-31-2013, 04:54 PM
  4. Macros from Excel 2007 transferring to 2014
    By SueWithQuestion in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-12-2013, 02:26 PM

Tags for this Thread

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