+ Reply to Thread
Results 1 to 3 of 3

Formula to look in filecell based on cell value in next column?

  1. #1
    Registered User
    Join Date
    08-01-2018
    Location
    Ann Arbor, MI
    MS-Off Ver
    2016
    Posts
    96

    Smile Formula to look in filecell based on cell value in next column?

    Hello! I am wondering if it is possible to put a formula in a cell that can go into a file based on a number in a cell to the left of it.

    As you can see in the image, in Column A there is a filename with a hyperlink, and in Column F there is a status.

    I would like the status to be found by the cell searching in the respective file in column A for cell(2,2) (B2)'s current value. (That is where the status is placed)

    Is this possible?

    Can I reference the file in the first cell in the row to find the status? Thank you for any help in advanced!

    helpquestion.png

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Formula to look in filecell based on cell value in next column?

    It is possible to do this with the INDIRECT function but that would require the file named in column A to be open at the time, or it will return an error.
    Otherwise it requires either an add-in (INDIRECT.EXT, which is not commercially available but kind of floats around the Internet), which uses VBA, or custom VBA for your file. The custom VBA would open the file, retrieve the status, then plug it into column F. There is another VBA option that should owrk here which doesn't have to actually open the file, but let's not get into details until we see what you want to do.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    08-01-2018
    Location
    Ann Arbor, MI
    MS-Off Ver
    2016
    Posts
    96

    Re: Formula to look in filecell based on cell value in next column?

    Thanks for your response Jeff!

    Unfortunately that would not fit in the safety guidelines at my workplace. Thank you anyway! We will just have to do it manually if there is no way to write a formula in for it.

+ 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. Formula to read an specific column based on another cell value
    By LEORITY in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-17-2017, 06:33 PM
  2. [SOLVED] Formula to get a cell value based on row and column
    By plans in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-05-2015, 06:10 PM
  3. [SOLVED] Need a formula to change cell in column 2 based off of text in column 1
    By bevwalker in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-30-2014, 03:26 PM
  4. Moving Cell contents with a formula, based on the column value?
    By bvandervyver44 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-13-2013, 02:51 AM
  5. Formula/macro to edit cells in one column based on contents of a cell in another column
    By robbyvegas in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-25-2012, 06:10 AM
  6. a formula to get a cell column letter based on a number
    By luv2glyd in forum Excel General
    Replies: 2
    Last Post: 06-03-2011, 02:52 PM
  7. INDEX formula to define column based on cell value
    By boohah in forum Excel General
    Replies: 2
    Last Post: 02-02-2011, 05:26 AM

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