+ Reply to Thread
Results 1 to 8 of 8

Slow index/small/row array

  1. #1
    Registered User
    Join Date
    08-17-2012
    Location
    Serbia
    MS-Off Ver
    Excel 2010
    Posts
    85

    Slow index/small/row array

    I am trying to select companies from list of 7000 companies by two criteria.
    1. 7000 companies with corresponding values
    2. Based on that values (I have a combo box) companies are selected from that list of 7000
    3. Using combination of index/small/row functions, that selection is sorted in another column to ignore blank cells
    4. Whole process is repeated one more time using second criteria.

    If someone could check uploaded workbook for another method for index/small/row array to speed up the whole process.
    I know it's not that slow right now, but with fetching web data and with other calculations that comes after that process
    opening time is pretty slow.

    LIST_SPEED TEST.xlsm
    Last edited by Jovica; 12-05-2012 at 04:37 PM.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Slow index/small/row array

    Hi Jovica,

    I noticed few things:-

    1) This may be for a reason but I feel un-necessary duplication of data on tabs.
    2) Try using Index - Match instead of Vlookup

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    08-17-2012
    Location
    Serbia
    MS-Off Ver
    Excel 2010
    Posts
    85

    Re: Slow index/small/row array

    That didn't helped much, calculation speed is the same or even slower, but I'll use index/match functions instead vlookup in the future.

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Slow index/small/row array

    okay.. that's great.

    Also consider my first point as well .. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Slow index/small/row array

    You seem to be trying this the hard way! ...

    See if this workbook helps, it seems to be a tad faster.

    Select from the drop-downs in Sheet1!B1:B3

    I might have read some of your intentions wrongly, but it should be easy enough to make any changes you need.
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  6. #6
    Registered User
    Join Date
    08-17-2012
    Location
    Serbia
    MS-Off Ver
    Excel 2010
    Posts
    85

    Re: Slow index/small/row array

    @Marcol

    Wow, that's exactly what I need, I just have to figure out how you did that.


    Thank you guys so much.

  7. #7
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Slow index/small/row array

    Check out the helper Column D in Sheet1, (hidden with the grouping button)

    This could perhaps be made faster by using a nested IF() formula, but I was well down the road of SUMPRODUCT() and it seems fast enough for me at least.

    From this point on there are many ways to make your workbook more flexible, we could even slow it down if you want to by eliminating the helper and applying an array (CSE) formula ...

    Cheers!

  8. #8
    Registered User
    Join Date
    08-17-2012
    Location
    Serbia
    MS-Off Ver
    Excel 2010
    Posts
    85

    Re: Slow index/small/row array

    Yes, I've figured it out, I've also applied both methods to all my workbooks. It's amazing how you think you know enough about Excel until...

    Thanks again.

+ 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