+ Reply to Thread
Results 1 to 2 of 2

AUTOMATICALLY Reformulate LOOKUP formulas to INDEX/MATCH (huge file)?

  1. #1
    Registered User
    Join Date
    03-12-2015
    Location
    UK
    MS-Off Ver
    2013 & 2010
    Posts
    27

    AUTOMATICALLY Reformulate LOOKUP formulas to INDEX/MATCH (huge file)?

    Hi

    I have just been sent an extremely large .xlsm workbook (270000 rows approx) by a friend who is not a forum member here but works with excel a lot. He has asked me if I know of any non-manual way to reformulate all LOOKUPS in a workbook to INDEX MATCH formulas (he has been sent the file by a third party (client) and thinks the sheer volume of LOOKUP formulas is massively slowing down the workbook, which is probably true as I have had a look and the file and can't see anything else that would cause it to be slow... and his laptop is by no means a slouch (AMD A10/8GB DDR3 RAM/256Gb SSD/Windows 7/Excel 2010)

    Does anyone know of any VBA to reformulate LOOKUP() formulas to =INDEX/MATCH formulas??

    unfortunately Manual alteration is not an option here is, as there is a lot of formula variation from row to row (although they are all lookup formulas in some form (so changing the top row and dragging down would not work). The workbook is 270000 rows, each containing 4 numbers and 1 lookup formula

    Thanks if anyone can help
    Last edited by timiop2011; 03-19-2015 at 04:34 PM.

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: AUTOMATICALLY Reformulate LOOKUP formulas to INDEX/MATCH (huge file)?

    what good do you expect by doing this. Changing 270000 Vlookup formulas with 270000 Index/Match formulas will not help make this huge file any faster. I would suggest to write a macro to replace the formulas by only the resulting value. Therefore, your workbook will be a lot faster as the number of formulas to evaluate is 270000 less than before.

    But as you can't change the first formula and copy it down, it means the formulas are not all the same. What makes them different? Is it possible to transfer this logic to a macro? Can you tell?
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

+ 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] Combining 3 Formulas: Return all Names that Match Criteria Using Index/Match
    By bchilme in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 09-29-2014, 09:28 AM
  2. Replies: 2
    Last Post: 08-30-2014, 02:49 AM
  3. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  4. [SOLVED] Basic file, no pictures, no formulas, huge memory and cpu usage
    By neowok in forum Excel General
    Replies: 4
    Last Post: 12-10-2013, 12:47 PM
  5. Replies: 7
    Last Post: 06-19-2011, 12:51 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