+ Reply to Thread
Results 1 to 9 of 9

Vlookup execution or slow response

  1. #1
    Registered User
    Join Date
    04-01-2019
    Location
    Manitowoc, Wisconsin, USA
    MS-Off Ver
    365
    Posts
    23

    Vlookup execution or slow response

    I had to upgrade to Office 365. I know I should be using Access for my project but my organization does not offer it.

    I have designed an Excel application that will allow users to enter a product number and return the results the adjacent columns.
    (Regardless of what I have tried I cannot eliminate those nasty green triangles in the cells of the returned data. I have turned off that
    feature and the "greenies" are gone. Still very annoying.)


    This is the formula I am using:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I cannot determine if it slow response, the formula, or the column formatting but the execution is sporadic.

    I have also attached the file.

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Moderator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    365
    Posts
    16,645

    Re: Vlookup execution or slow response

    You have the option for "Show formulas instead of their results". I had to remove it just to look at your results.

    Can you describe a little more about what you mean by "execution is sporadic"? If you type in one Variant number, does it take a few seconds for the formulas to update?

    This is a macro-enabled file, but there is no code, so that is not causing a problem.

    Are you using Excel on your desktop or online?

    I am not experiencing any problems. This is a pretty straightforward workbook and there is nothing in here that should cause performance problems. I pasted in 25 Variants at one time and it updated instantly.

    Could there be something else running on your computer hogging resources?

  3. #3
    Registered User
    Join Date
    04-01-2019
    Location
    Manitowoc, Wisconsin, USA
    MS-Off Ver
    365
    Posts
    23

    Re: Vlookup execution or slow response

    Thank you for the reply.

    The sporadic behavior is in the execution of the formula after I enter the variant number. I will execute instantly, not at all (within 15 minutes) or show only the formula.

    I am using Excel 365 from my desktop and there are no other applications running.

    Steven

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16
    Posts
    50,211

    Re: Vlookup execution or slow response

    Your file took way longer to open than normal.

    I copied 29 variants across and it took maybe a second to calc.
    I also used the same variant, pasted it 29 individual times, and while not instant, the calcs were almost normal.

    Some changes I made to your file...
    1. Make sure your headings match exactly. If you need to go across rows in a single cell, use Wrap Text, dont add extra spaces.

    2. changed vlookup to INDEX/MATCH
    =IFERROR(INDEX('Price Table'!$A$2:$L$147,MATCH($B5,'Price Table'!$A$2:$A$147,0),MATCH(E$3,'Price Table'!$A$1:$L$1,0)),"")

    3. Not sure why you need to have M, O and P as text, but you could add TEXT() to my INDEX/MATCH for that, and eliminate S:U altogether

    4. Put =TODAY() in it's own cell, and reference that, instead of the constant use of =NOW() (I put it in A1)
    Then P5=TEXT(IF(N5>O5,$A$1,""),"mm/yyyy")

    5. Finally, change your formula to...
    =IF($B5="","",INDEX('Price Table'!$A$2:$L$147,MATCH($B5,'Price Table'!$A$2:$A$147,0),MATCH(E$3,'Price Table'!$A$1:$L$1,0)))

    This will speed up your file considerably.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    04-01-2019
    Location
    Manitowoc, Wisconsin, USA
    MS-Off Ver
    365
    Posts
    23

    Re: Vlookup execution or slow response

    I made the changes to the headings per your instructions as well as for the date.

    I applied your index/match recommendation but it did not execute at all. In the function
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    what is "E$3"?

    Lastly, you recommend to change another formula to Index/match but I am unsure where.

    Your assistance has been priceless.

    Steven

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16
    Posts
    50,211

    Re: Vlookup execution or slow response

    E$3 is the column heading. It changes the col letter to F$3, G$3 etc as you copy the formula across, but but does not change the row number as you copy down.

    I have included the changes I suggested in the attached file, they all seem to work for me?

    Also, because you dont actually have any macros. I saved the file with a .xlsx extension
    Attached Files Attached Files

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16
    Posts
    50,211

    Re: Vlookup execution or slow response

    Jeff - speed king? lol
    thanks for the rep

  8. #8
    Registered User
    Join Date
    04-01-2019
    Location
    Manitowoc, Wisconsin, USA
    MS-Off Ver
    365
    Posts
    23

    Re: Vlookup execution or slow response

    Very, very slick! Only one issue and that is the formula is not pulling the MAX ID from my price list. I does on your example.

  9. #9
    Registered User
    Join Date
    04-20-2019
    Location
    United States
    MS-Off Ver
    2017
    Posts
    3

    Re: Vlookup execution or slow response

    I have also suffered a lot from the slow response of my Windows 10. I have also reset the system to make it fast, but it also failed to speed up the system. Finally, epson error code 0xf4 solved the issue and I just followed the methods that are mentioned over there and it really worked on my system.
    Last edited by brown7278; 04-20-2019 at 03:03 AM.

+ 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. Cause and solution of slow execution of VBA!
    By meus in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 09-14-2015, 01:30 AM
  2. Macro is running real slow and makes navigating the worksheet really slow after execution.
    By MichWolverines in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-03-2013, 04:29 PM
  3. Slow VBA execution
    By GustavBA in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-03-2013, 06:40 AM
  4. Slow SUMIF() execution?
    By ahartman in forum Excel General
    Replies: 6
    Last Post: 04-09-2010, 01:21 PM
  5. Exel Slow Response
    By GENESYS_SA in forum Excel General
    Replies: 3
    Last Post: 04-02-2007, 11:03 PM
  6. Slow response in spreadsheet
    By Robin Cowdrey in forum Excel General
    Replies: 4
    Last Post: 05-25-2005, 08:53 AM

Tags for this Thread

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