+ Reply to Thread
Results 1 to 10 of 10

index...indirect

  1. #1
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    index...indirect

    hello

    having some major issues with my use of indirect or index.

    im trying to use the index formula.

    here is the original formula that im trying to "modify" as i have 180 rows to apply it to with different references.

    original formula:
    =INDEX('J:\Sales Analyst\SWAT\Archieve 2011\P1W1\[Edmonton-Winnipeg.xls]Peter Vepstas'!$A$1:$X$63,I4,I5,1)


    modifying it to:
    =INDEX("'J:\Sales Analyst\SWAT\Archieve 2011\"&I8&"\["&D9&".xls]"&E9&"'!"&E4&"",I4,I5,1)

    where
    I8 = P3W1
    D9 = Edmonton-Winnipeg (branch name)
    E9 = name
    E4 = A1:X63

    ...is there something in doing wrong?...im getting a #REF error. can someone pls help, ive been stuck on this for over a day. thx you.

    i have attached a sample, highlighted in red is the original; yellow shows what im trying to achieve. thxs!
    Attached Files Attached Files
    Last edited by jw01; 03-30-2011 at 05:17 PM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: index...indirect

    Your paths imply target file is closed - the native INDIRECT function does not work with closed targets.

    If you need this formula functionality Google INDIRECT.EXT part of morefunc add-in
    Note: morefunc.xll can not be "embedded" for distribution from XL2007 onwards meaning it would need to be installed on each client using the file

    If you can't install 3rd party software you will need to use VBA: you can use VBA to re-write the formula links else use Harlan Grove's PULL Function [Google for more info.] and/or equivalents thereof.

  3. #3
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: index...indirect

    Hello

    thxs for your input.

    even when i have the "source" file open, im still getting a value error.

    it's wierd bc when i have the index formula w/o referncing to cells on the worksheet, i see the value of i.e. $400 (even with the workbook closed).

    however, when i place in factors $E$9 etc to look off the sheet, the i get a #value error. i thought the way i had the "" places or my logic was not right.....ur thoughs on that?

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: index...indirect

    You are not using your concatenation within the INDIRECT() function.

  5. #5
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: index...indirect

    hello

    i tried to use the "indirect.ext" function..however need some help.

    this is my formula
    =INDIRECT.EXT(D5,TRUE)

    where
    d5 = 'J:\Sales Analyst\SWAT\Archieve 2011\P1W1\[Edmonton-Winnipeg.xls]Peter Vepstas'!$A$1:$X$63

    it is however, referencing to cell A1 in that workbook. how do i make it reference to a particular row/column? thxs


    also, cutter, im not sure what you mean by "concatenation"...bc i thought i had the &"" and all that added to my indirect? thxs

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: index...indirect

    I'm referring to the formula you have in I12 of your supplied sample.

    There is no INDIRECT() function within the INDEX() function. That's what I mean.

    As for your INDIRECT.EXT() problem:

    I read here that INDIRECT.EXT() references single cells on a closed file - not ranges.

    http://webcache.googleusercontent.co...sed-workbooks/
    Last edited by Cutter; 03-30-2011 at 11:44 AM.

  7. #7
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: index...indirect

    This link:

    http://xcell05.free.fr/morefunc/engl...direct.ext.htm

    indicates you can retrieve values from a range but if you look at the last example (which is the only one involving a range) it is entered as an array formula (Ctrl+Shift+Enter)

  8. #8
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: index...indirect

    hey cutter

    thxs for your response and help.

    now im thinking this indirect ext seems somewhat useless to my need.

    basically, i would like for the formual to be versatile, so when i drag it down, it can automatically adjust to the "city" and "employee name".

    the path remains the same i.e.
    J:Sales analyst\SWAT etc etc

    but the portion that would change is...P3W1, City name, employee name.

    that is why i wanted to use my index or even indirect, but...can you help me with the indirect, without the ext?

    this is what i have but it seems to not be working correctly:
    =INDIRECT(E3&I8&"\["&D9&".xls]"&E9&"'!"&I4&I5)

  9. #9
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: index...indirect

    hello

    i have tried to incorporate the index(index) together....but even with the workbook open, im still getting a REF error for some odd reason.

    =INDEX(INDIRECT(E3&I8&"\["&D9&".xls]"&E9&"'!"&E4),I4,I5,1)

    is my "" or & not being used correctly?

    i have even tried it using the following...
    =INDEX(INDIRECT("'J:\Sales Analyst\SWAT\Archieve 2011\"&I8&"\["&D9&".xls]"&E9&"'!"&E4&""),I4,I5,1)
    Last edited by jw01; 03-30-2011 at 05:03 PM.

  10. #10
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: index...indirect

    hey guys

    thxs for the help. i finally managed to cracked to code:

    =INDEX(INDIRECT.EXT("'J:\Sales Analyst\SWAT\Archieve 2011\"&I$8&"\["&$D9&".xls]"&$E9&"'!$A$1:$X$63"),I$4,I$5,1)

    thxs for your help and advice!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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