+ Reply to Thread
Results 1 to 8 of 8

What is wrong with this indirect formula?

  1. #1
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    What is wrong with this indirect formula?

    Hi

    I have a sheet I'm building where I need it to look up into another worksheet which has numerous tabs with different names

    =VLOOKUP(R10239,(indirect("'S:\Team\10\Team 10\Order Summary\2017\[Order Summary 2017.xlsx]"&AC10239&"'!$C:$L",10),0

    But it tells me I'm missing something

    AC10239 is the name of the tab in the other workbook

    What am I missing?

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: What is wrong with this indirect formula?

    Hi,

    Even if we amend it such that it is syntactically correct, I take it you're aware that INDIRECT does not work on closed workbooks?

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    Re: What is wrong with this indirect formula?

    I was yes, so I will open the workbook I need to lookup into, but its easier having this formula than manually changing or recording what I want when needed

    Usually when I use indirect, it seems ok but I'm doing a SUMSIF I haven't used vlookup in the indirect formula before

  4. #4
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: What is wrong with this indirect formula?

    AC10239 is the name of the tab in the other workbook or AC10239 contains the name of the tab in the other workbook? if it contains the name, what is the name?

  5. #5
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    Re: What is wrong with this indirect formula?

    it contains the name, the name is P1.W1, throughout column AC it will say P1.W1, P1.W2, P3.W1, P6.W4 etc etc

  6. #6
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: What is wrong with this indirect formula?

    You appear to have parentheses in the wrong places.

    Perhaps:

    =VLOOKUP(R10239,INDIRECT("'S:\Team\10\Team 10\Order Summary\2017\[Order Summary 2017.xlsx]"&AC10239&"'!$C:$L"),10,0)

    Regards

  7. #7
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    Re: What is wrong with this indirect formula?

    Great i've got thank you

  8. #8
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: What is wrong with this indirect formula?

    You're welcome!

    Cheers

+ 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] Indirect pulling wrong info
    By amartin575 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-23-2016, 04:47 PM
  2. What's wrong with this formula
    By ukdodger in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-27-2015, 06:57 AM
  3. [SOLVED] What is wrong with this formula?
    By Bobz1983 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-07-2014, 04:54 AM
  4. What's wrong with my MAX(IF) formula?
    By Jed Shields in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-25-2012, 04:40 AM
  5. Replies: 1
    Last Post: 02-10-2012, 02:53 AM
  6. Replies: 2
    Last Post: 10-24-2010, 01:20 PM
  7. INDIRECT Function - what am I doing wrong?
    By MACRE0 in forum Excel General
    Replies: 2
    Last Post: 10-05-2005, 03:47 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