+ Reply to Thread
Results 1 to 3 of 3

External excel file, retrieve value, but change NAME in the URL based on cell B3

  1. #1
    Registered User
    Join Date
    07-19-2022
    Location
    New Haven, CT
    MS-Off Ver
    2019
    Posts
    6

    Question External excel file, retrieve value, but change NAME in the URL based on cell B3

    I have an excel file on sharepoint called share
    I have an excel file locally stored called local

    The local file has a formula that checks if a specific cell value in the share file is X or Y.
    The name of the employee is located in cell B3

    company.sharepoint.com/sites/SubDomain/Shared[/url] Documents/Projects/TEST/[TEST-FY-",B3,".xlsx]July'!$V$7"))

    I tried CONCATE but it doesn't work. While the URL produced is correct, it doesn't actually load the value.

    Is this even possible?

  2. #2
    Forum Contributor
    Join Date
    08-12-2020
    Location
    Atlanta, Georgia
    MS-Off Ver
    Office 16
    Posts
    241

    Re: External excel file, retrieve value, but change NAME in the URL based on cell B3

    You can achieve this using an indirect formula. Indirect allows you to piece together a formula that can have parts that are references to other cells and/or specific information combined together. I use them pretty regularly on my spreadsheets. There are different ways to use them. =indirect("$C"&"26") will pull whatever is in $C26. If you use =indirect($C$1&$C$2) and then put $C (or C) in c1 and 26 in C2 you can control the formula by changing what is in C1 and C2. I included a sheet with examples.
    Good Luck.
    Squeaky
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-19-2022
    Location
    New Haven, CT
    MS-Off Ver
    2019
    Posts
    6
    Quote Originally Posted by Squeaky View Post
    You can achieve this using an indirect formula. Indirect allows you to piece together a formula that can have parts that are references to other cells and/or specific information combined together. I use them pretty regularly on my spreadsheets. There are different ways to use them. =indirect("$C"&"26") will pull whatever is in $C26. If you use =indirect($C$1&$C$2) and then put $C (or C) in c1 and 26 in C2 you can control the formula by changing what is in C1 and C2. I included a sheet with examples.
    Good Luck.
    Squeaky
    Hi Squeaky,

    Thank you for the reply. I checked and it works only for internal references. I couldn't make it work with SharePoint Excel reference.

+ 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] change code form implementation in the same file to external file to copy lastrow
    By abdo M in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-13-2023, 07:15 AM
  2. [SOLVED] Automatically change all external links based on a cell value when an Excel file is open
    By billj in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-10-2017, 07:33 PM
  3. Dynamic external file access to retrieve figures
    By Cosima in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-01-2016, 06:22 AM
  4. External Data from Microsoft Query - Excel File - Causes external file to open.
    By lee1000d in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-25-2015, 02:25 PM
  5. Replies: 0
    Last Post: 03-17-2015, 05:45 AM
  6. External File(s) referenced and file links change based on row cell.
    By Jimmydageek in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-23-2009, 02:59 PM
  7. Retrieve "Last Modified Date" from external file!!!
    By benedums in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-24-2005, 11:16 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