+ Reply to Thread
Results 1 to 3 of 3

Add cell content into Formula command in another cell for multiple files search

  1. #1
    Registered User
    Join Date
    12-24-2013
    Location
    Taiwan
    MS-Off Ver
    Excel 2013
    Posts
    15

    Add cell content into Formula command in another cell for multiple files search

    Can anyone help me how to determine the correct formula for this requirement?

    Assuming I have 2 individual excel files and an index excel file (in reality, there are more than hundreds of file). For index excel, once the user enter part number (eg. 1 or 2), the excel will look for the part number excel file and determine vlookup function.

    The only problem I have here is I can not make the index file automatically add the part number shown on most left column into the required formula (replace the part number file section).

    I tried use the indirect function but this require each file to be opened, which is not possible for actual use. I am looking for a function that can work in closed worksheet. Attached files. Please help. Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,366

    Re: Add cell content into Formula command in another cell for multiple files search

    =IF(A14=1,VLOOKUP(B14,[1.xlsx]a!$A$2:$B$3,2,FALSE),IF(A14=2,VLOOKUP(B14,[2.xlsx]a!$A$2:$B$3,2,FALSE)))

  3. #3
    Registered User
    Join Date
    12-24-2013
    Location
    Taiwan
    MS-Off Ver
    Excel 2013
    Posts
    15

    Re: Add cell content into Formula command in another cell for multiple files search

    Thanks for reply. But for part number column, this is not always 1 or 2 in squence, it may be 3 or 65 or 43. As I have more than 600 individuals files, it is impoissible for me write the command in this approach. That is why I was hoping to find a formula that can add whatever the number is entered in part number column and change it to file name and input into each individual formula for search. Thank you.

+ 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. [How to] Change cell content in multiple files
    By shortcutz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-23-2013, 05:49 AM
  2. Replies: 0
    Last Post: 09-04-2011, 09:14 AM
  3. Replies: 6
    Last Post: 03-08-2011, 04:08 AM
  4. How to Search content of Multiple Excel Files?
    By camrencrew in forum Excel General
    Replies: 1
    Last Post: 04-07-2010, 03:38 PM
  5. lookup cell content in multiple files
    By oldbuffer in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-13-2005, 02:05 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