+ Reply to Thread
Results 1 to 4 of 4

Excel Formula in Large File Taking Too Long to Process

  1. #1
    Registered User
    Join Date
    03-09-2015
    Location
    US
    MS-Off Ver
    2010
    Posts
    26

    Excel Formula in Large File Taking Too Long to Process

    I've got a large file with around 290k rows of data in across 12 columns or so. In a new worksheet, I removed the duplicates and have only 2 columns, but still over 100k rows. I used a formula in this new worksheet to return multiple matches across columns. Basically, this formula: {=IFERROR(INDEX(returnvalue,SMALL(IF(lookupvalue=$E5,ROW(returnvalue)-MIN(ROW(returnvalue))+1),COLUMNS($E$5:E5))),"")} which I found from exceljet.

    The formula works, but due to the size of the file and amount of cells needed to populate, it's taking forever for the formulas to process and I haven't even tried to do all the cells, just a small portion of them. What would be the best way to get the data I need? Separating the data into multiple files is the only way I can think of at the moment. Is there a faster method?

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,462

    Re: Excel Formula in Large File Taking Too Long to Process

    Perhaps try Power Query?

  3. #3
    Registered User
    Join Date
    03-09-2015
    Location
    US
    MS-Off Ver
    2010
    Posts
    26

    Re: Excel Formula in Large File Taking Too Long to Process

    Quote Originally Posted by Pepe Le Mokko View Post
    Perhaps try Power Query?
    This will probably work, but I can't figure it out. When searching for the solution, I get a lot of combining numbers into a sum where I just want to display it across columns. I tried grouping, but everything ends up in something I can click to see all data for a single ID, but still not across columns.

    For example the original data looks like this:
    ID Data
    01 a
    02 b
    03 c
    01 b
    01 c
    02 b
    03 a



    And I want to look like this:
    ID Data1 Data2 Data3
    01 a b c
    02 b b
    03 c a



    Edit - I got it. Looks like grouping things was in the right direction, but stopped before getting to what I needed. Credit to stack overflow users.

    From there you can use split column to separate by delimiter and remove columns not used.
    Last edited by ziggyztz; 01-29-2019 at 12:31 PM.

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,462

    Re: Excel Formula in Large File Taking Too Long to Process

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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: 32
    Last Post: 03-29-2024, 07:01 PM
  2. Vlookup taking a long time to process
    By kelvin156 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-10-2015, 05:05 AM
  3. Replies: 1
    Last Post: 01-24-2015, 08:29 PM
  4. Excel is taking too long to refresh pivot tables in my file
    By Sgligori in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 01-13-2015, 09:46 PM
  5. Why is this block of code taking so long to process?
    By Excel_vba in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-23-2013, 07:21 AM
  6. Downloaded Excel file taking long time to open
    By Nanjunda in forum Excel General
    Replies: 1
    Last Post: 11-14-2013, 09:10 AM
  7. 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

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