+ Reply to Thread
Results 1 to 3 of 3

vba replacement for index match array

  1. #1
    Registered User
    Join Date
    07-06-2011
    Location
    america, usa
    MS-Off Ver
    Excel 2007
    Posts
    29

    vba replacement for index match array

    Hello all, I made a non vba spreadsheet that uses an array to organize some information the way I need it organized. It works as I intended, however because it is using multiple arrays, it is WAY too slow. I am trying to make a VBA version to do the same thing, but am not as well versed in VBA and cannot get anything to work correctly. I attached an example spreadsheet with the non VBA code I need to translate to VBA in cell D4. This code was originally in D4:D60 as well as I4:I60, which is when it started to process slowly. I have a pitiful attempt at the VBA that runs when I hit the "organize" button, but gives me an undefined error because I'm not sure how to translate this:
    Please Login or Register  to view this content.
    The purpose of this is to look for matches to the FCH column, and write them (divided by spaces) in the corresponding column from information on another sheet in the workbook, and there could be up to 32 matches. Any assistance is appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: vba replacement for index match array

    The attached code works on the sample provided.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-06-2011
    Location
    america, usa
    MS-Off Ver
    Excel 2007
    Posts
    29

    Re: vba replacement for index match array

    That works!! 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. [SOLVED] Match-Index in stead of Index-Match lookup Array among Arrays
    By Numnum in forum Excel General
    Replies: 2
    Last Post: 10-15-2015, 02:08 PM
  2. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  3. Array, Index, Match?
    By DHFE in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-20-2014, 11:58 AM
  4. [SOLVED] Index match for an array
    By greg19 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-25-2013, 09:53 PM
  5. Index Match array equation with sub-array calculation
    By glebbo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-04-2012, 03:04 AM
  6. Nested Match(index()) vs. Match() array formula.
    By GeneralDisarray in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-14-2011, 07:57 AM
  7. sum of an index/match array
    By TechRetard in forum Excel General
    Replies: 2
    Last Post: 06-20-2011, 01:29 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