+ Reply to Thread
Results 1 to 23 of 23

can vlookup be used to access file on server?

  1. #1
    Registered User
    Join Date
    11-07-2012
    Location
    oklahoma city, oklahoma
    MS-Off Ver
    365 VERSION 2309?
    Posts
    42

    can vlookup be used to access file on server?

    i have an excel file that uses vlookup to access (hidden) sheet in workbook.
    can i use this function in the same way but access a file located on server in lieu of worksheet in the same file?

    current function:

    =IF(B24="","",VLOOKUP(B24,Worksheet_Data_DONOTERASE!$M$4:$O$9187,2,FALSE))

  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,053

    Re: can vlookup be used to access file on server?

    Yes. Best way to set it up is probably with bOTH files open and tabbing between the two files to select the correct cell ranges needed for the formula. Once the source file is closed, the formula should update to incude the complete path from your source file.... providing there are no issues with permissions to reach ther server file, of course.
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    11-07-2012
    Location
    oklahoma city, oklahoma
    MS-Off Ver
    365 VERSION 2309?
    Posts
    42

    Re: can vlookup be used to access file on server?

    Can i swap out the worksheet name in existing formula with file name of external file?

  4. #4
    Registered User
    Join Date
    11-07-2012
    Location
    oklahoma city, oklahoma
    MS-Off Ver
    365 VERSION 2309?
    Posts
    42

    Re: can vlookup be used to access file on server?

    Also, how could i get cost point for points to have someoen resolve this issue for me?

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

    Re: can vlookup be used to access file on server?

    I set up a simple VLOOKUP in Book 2, relating to Book 1.

    With Book 1 OPEN, I set this up:

    =VLOOKUP(A2,[Book1.xlsx]Sheet1!$A:$B,2,FALSE)

    in Book 2.

    Once book 1 is closed, it changed automatically to:
    =VLOOKUP(A2,'https://d.docs.live.net/8e867843e6449ab1c/Documents/[Book1.xlsx]Sheet1'!$A:$B,2,FALSE)

    as my file was on my OneDrive folder. If I change the lookup value in A2, it updates perfectly, without opening Book 1.

  6. #6
    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,053

    Re: can vlookup be used to access file on server?

    There is a commercial services section, if you want to use it... but this should be fixable here in the free section, without recourse to spending any $$$

  7. #7
    Registered User
    Join Date
    11-07-2012
    Location
    oklahoma city, oklahoma
    MS-Off Ver
    365 VERSION 2309?
    Posts
    42

    Re: can vlookup be used to access file on server?

    I got it to work, trying to add like formula to other cells, but ...
    I have a cell with a drop down list, wont accept formula because "this valuedoesnt match the data valiation restrictions defined for this cell" ...
    How do i remove list or dat restrictions?

    Please forgive the elementary questions, 30+ cad designer/drafter wearing extra hats

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: can vlookup be used to access file on server?

    With the cell selected, Data ribbon | Data Validation | change to None.

    Administrative Note:

    Members will tailor the solutions they offer to the version of Office (Excel) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  9. #9
    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,053

    Re: can vlookup be used to access file on server?

    I think a sample file would help, 'cos I'm not sure I follow you.

  10. #10
    Registered User
    Join Date
    11-07-2012
    Location
    oklahoma city, oklahoma
    MS-Off Ver
    365 VERSION 2309?
    Posts
    42

    Re: can vlookup be used to access file on server?

    The formula in columns d-f pull the description based on part number,
    im trying to add the same formula to columns h,i,l & m to pull their respective data,
    worksheet:
    Attachment 763862
    data sheet:
    Attachment 763863

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: can vlookup be used to access file on server?

    There are instructions at the top of the page explaining how to attach your sample workbook (not images of it).

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.

  12. #12
    Registered User
    Join Date
    11-07-2012
    Location
    oklahoma city, oklahoma
    MS-Off Ver
    365 VERSION 2309?
    Posts
    42

    Re: can vlookup be used to access file on server?

    Can you guide me to "manageattachments"?

  13. #13
    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,053

    Re: can vlookup be used to access file on server?

    Unfortunately the attachment icon doesn't work at the moment. So... for a new thread (1st post), scroll to Manage Attachments and for a new post in your existing thread click on Go Advanced (below the Edit Window) while composing your reply, then scroll down to and click on Manage Attachments. In both cases, the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

  14. #14
    Registered User
    Join Date
    11-07-2012
    Location
    oklahoma city, oklahoma
    MS-Off Ver
    365 VERSION 2309?
    Posts
    42

    Re: can vlookup be used to access file on server?

    Like this?

    Trying to pull other info

  15. #15
    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,053

    Re: can vlookup be used to access file on server?

    Change D24 to:

    =IF($B24="","",VLOOKUP($B24,'[QUOTE-SAGE-MASTER-EXTRACT.xlsx]Sheet1'!$M:$R,2,FALSE))

    (tidier). For UoM, remove the data validation in the column and use:

    =IF($B24="","",VLOOKUP($B24,'[QUOTE-SAGE-MASTER-EXTRACT.xlsx]Sheet1'!$M:$R,3,FALSE))

    for the others,

    =IF($B24="","",VLOOKUP($B24,'[QUOTE-SAGE-MASTER-EXTRACT.xlsx]Sheet1'!$M:$R,4,FALSE))

    =IF($B24="","",VLOOKUP($B24,'[QUOTE-SAGE-MASTER-EXTRACT.xlsx]Sheet1'!$M:$R,5,FALSE))

    but guessing a bit, as the column headers differ.

  16. #16
    Registered User
    Join Date
    11-07-2012
    Location
    oklahoma city, oklahoma
    MS-Off Ver
    365 VERSION 2309?
    Posts
    42

    Re: can vlookup be used to access file on server?

    Thank you so much, it works but ...

    The validation in cell b(c)24 doesnt work

    formula shows as:
    =#ref!$m$4:$m$9187

    i dont know what the #ref! Refers too, seemed to work ok until i deleted original ref sheet in the document

  17. #17
    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,053

    Re: can vlookup be used to access file on server?

    That appears BECAUSE you deleted the original sheet in the document. You can't do that without causing the formulae to fall over.

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

  18. #18
    Registered User
    Join Date
    11-07-2012
    Location
    oklahoma city, oklahoma
    MS-Off Ver
    365 VERSION 2309?
    Posts
    42

    Re: can vlookup be used to access file on server?

    Is there a way to point it to the new, external document?

  19. #19
    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,053

    Re: can vlookup be used to access file on server?

    Open the source and set the formula up again. Why are you deleting the sheet in the document?

  20. #20
    Registered User
    Join Date
    11-07-2012
    Location
    oklahoma city, oklahoma
    MS-Off Ver
    365 VERSION 2309?
    Posts
    42

    Re: can vlookup be used to access file on server?

    Because i want the info pulled from external file that can be updated regularly

  21. #21
    Registered User
    Join Date
    11-07-2012
    Location
    oklahoma city, oklahoma
    MS-Off Ver
    365 VERSION 2309?
    Posts
    42

    Re: can vlookup be used to access file on server?

    And thank you so much for the help, please send me info and ill buy you a dinner
    Last edited by jackshield; 01-17-2022 at 03:43 PM.

  22. #22
    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,053

    Re: can vlookup be used to access file on server?

    Gawd. Edit your post and temove your email... unless you love spam.

    No need. I do this for fun on rainy days when there's not much else to do.

  23. #23
    Registered User
    Join Date
    11-07-2012
    Location
    oklahoma city, oklahoma
    MS-Off Ver
    365 VERSION 2309?
    Posts
    42

    Re: can vlookup be used to access file on server?

    The box (boxes) in question have data validation (pull down list)
    under data validation:
    Source is listed as: =#ref!

    I dont see an actual formula or specifics to link

+ 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. Access denied when opening Excel file on server
    By tomecole in forum Excel General
    Replies: 2
    Last Post: 06-01-2014, 10:45 AM
  2. Access file from Solaris server through Excel macro
    By Manivas in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-01-2013, 04:22 AM
  3. Vlookup requires update links to server file everytime
    By sureshks in forum Excel General
    Replies: 8
    Last Post: 05-03-2012, 09:50 AM
  4. Macro To Access Web Server?
    By Orangeworker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-23-2011, 02:07 PM
  5. Export from Access/SQL Server
    By JIM in forum Excel General
    Replies: 0
    Last Post: 08-20-2006, 03:15 PM
  6. How do I access data stored in a SQL server for vlookup function?
    By M.Heer in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-12-2005, 05:06 PM
  7. VLOOKUP from a file on another server
    By Carole O in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-14-2005, 04:06 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