+ Reply to Thread
Results 1 to 7 of 7

Excel 2013 File having multiple formulas taking too much time to Open - Pls Help!!

  1. #1
    Registered User
    Join Date
    12-13-2010
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    18

    Thumbs up Excel 2013 File having multiple formulas taking too much time to Open - Pls Help!!

    Dear Gurus,

    My main file is having around 30 columns and all the 30 columns are filled with data fetched from four different files using vlookup and other formulas.

    File 1 Contains 8K line items with 20 columns
    File 2 Contains 8K line items with 40 columns
    File 3 Contains 12K line items with 20 columns
    File 4 Contains 3K line items with 40 columns

    When I open the main file it is taking around 15 to 20 minutes to open the file. It shows (Calculating: (4 PROCESSOR(S)): 0%)....

    The following formulas are used in the main file...
    =MID(E24,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},E24&"0123456789")),4)
    =INDEX($C$2:$C$11,MATCH(F2&" "&G2,INDEX($A$2:$A$11&" "&$B$2:$B$11,0),0))
    =VLOOKUP(B2,File1.xlsx!$A:$B,2,FALSE)
    =IFERROR(VLOOKUP(B2,File2!D:E,2,FALSE)," ")
    =IFERROR(VLOOKUP(NUMBERVALUE(N2),File3.xls!$B:$T,19,FALSE),"")
    =NUMBERVALUE(Z2)+NUMBERVALUE(AA2)
    =IFERROR(VLOOKUP(NUMBERVALUE(N2),File4.xls!$B:$E,4,FALSE),"")
    =TRIM(A2)
    =IF(L2=M2,M2,L2)

    Please help me to resolve this problem?

    Regards,
    Suresh
    Last edited by vs.suresh; 03-30-2016 at 03:46 AM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,368

    Re: Excel 2013 File having multiple formulas taking too much time to Open - Pls Help!!

    Try changing VLOOKUPs to use fixed ranges rather than whole columns


    =VLOOKUP(B2,File1.xlsx!$A2:$B20000,2,FALSE)

  3. #3
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Excel 2013 File having multiple formulas taking too much time to Open - Pls Help!!

    Have you tried opening files 1,2,3 and 4 before opening the main file?

  4. #4
    Registered User
    Join Date
    12-13-2010
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    18

    Re: Excel 2013 File having multiple formulas taking too much time to Open - Pls Help!!

    Yes, I have tried both... But still it is slow...

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Excel 2013 File having multiple formulas taking too much time to Open - Pls Help!!

    I second the suggestion of limiting ranges to the actual used area of the sheet.

    In addition, I would recommend using a helper column for this formula

    =INDEX($C$2:$C$11,MATCH(F2&" "&G2,INDEX($A$2:$A$11&" "&$B$2:$B$11,0),0))

    Insert a column between B and C, so th Indexed column moves to D
    IN C2 and filled down put
    =A2&" "&B2

    Then use
    =INDEX($D$2:$D$11,MATCH(G2&" "&H2,$C$2:$C$11,0))



    I don't know if this is a Big factor, but you can reduce the number of function calls by changing
    =NUMBERVALUE(Z2)+NUMBERVALUE(AA2)
    to just
    =Z2+AA2

    Also in your vlookups, instead of using NUMBERVALUE(N2), just use N2+0



    And finally, can the data in your lookup tables be sorted in Ascending order ?
    Example
    =IFERROR(VLOOKUP(B2,File2!D:E,2,FALSE)," ")

    Can File2 be sorted in Ascending order by column D ?

    If YES, then try
    =IF(LOOKUP(B2,File2!D:D)=B2,LOOKUP(B2,File2!D:E)," ")

    YES, 2 LOOKUPs are much (and I mean MUCH) faster than 1 VLOOKUP with FALSE as the lookup type.
    Last edited by Jonmo1; 03-30-2016 at 08:54 AM.

  6. #6
    Registered User
    Join Date
    12-13-2010
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    18

    Re: Excel 2013 File having multiple formulas taking too much time to Open - Pls Help!!

    Thanks Jonmo... Now the time drastically reduced....

  7. #7
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Excel 2013 File having multiple formulas taking too much time to Open - Pls Help!!

    You're welcome.

+ 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. Replies: 1
    Last Post: 09-03-2015, 12:48 AM
  2. Excel 2013 blank background on file open
    By pagap in forum Excel General
    Replies: 1
    Last Post: 03-25-2015, 05:25 AM
  3. excel 2013 vba - show modal userform - can't open another .xls file
    By excel_joe in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-18-2014, 01:37 PM
  4. Large file taking much time to save or open
    By prabhuduraraj09 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-06-2014, 03:38 PM
  5. Downloaded Excel file taking long time to open
    By Nanjunda in forum Excel General
    Replies: 1
    Last Post: 11-14-2013, 09:10 AM
  6. Excel file is taking long time(almost 3 mins) while Save
    By harshrajpurohit in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-25-2013, 06:19 AM
  7. Replies: 1
    Last Post: 02-18-2006, 11:30 AM

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