+ Reply to Thread
Results 1 to 5 of 5

Walking through an array

  1. #1
    Registered User
    Join Date
    02-02-2011
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    18

    Walking through an array

    Okay,

    I have a, what I think, is likely a simple question. I looked through some threads without successfully finding one similar so I'll ask.

    I'm an Engineer currently stuck working on this finance issue because the lady who ran it left the company - no idea how it got to me rather than someone in Application Development... anyways.

    Basically, I have a list of names in a column, I want to create a variable inside a reference that will increment through that column and place it's value inside the reference. For example

    For examples: c:\sheets\[variable] which will change in B1, B2, B3 to reflect the content in cells A1, A2, A3

    Is it possible to do this?

    I could do it manually but the sheet has has over 100 references that need to be made.


    Anyways, thanks!

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Walking through an array

    ="c:\sheets\" & A1

    pasted into B1 and copied down?

  3. #3
    Registered User
    Join Date
    02-02-2011
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Walking through an array

    I think that just might work. It seems really simple.

    So, if my reference looks something like..

    =+'\\asdf\EmployeeResources\Development\Succession Management and Planning\Succession Management Individual Development Plan\[blah.xls]Objective 2'!$G$2

    What syntax would I require to get the cell to work in place of 'blah'? I got a simple reference working, but this one references another workbook.

  4. #4
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Walking through an array


  5. #5
    Registered User
    Join Date
    02-02-2011
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Walking through an array

    I'm using Win 7 Pro 64bit, subsequently I am using 64bit Excel 2010.

    Therefore I can't get the morefunc to work correctly as indirect.ext hasn't been written yet.

    I managed to do some concatenation and hardcoding to work around not being able to do it.

    Thanks, anyways.

+ 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