+ Reply to Thread
Results 1 to 3 of 3

Extracting with Uneven Data

  1. #1
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    Extracting with Uneven Data

    Hi I have a sheet that has a mix of formulas and constants. On an update to another sheet that drives the formulas I need to make sure the constants stay with their associated unique ID's. So I basically do the following:

    1. Load the Sheet before updates to an array
    2. Loop through an outer array to check if the column in question a manual update
    3. if the column is a manual update, then for each row within that column I check if the unique ID is there and then load into an array
    - this is the bugger, I have no known work around to make this work faster
    4. I print back to excel the array
    ** code below

    I really need help making this faster, on avg. this file will have 200+ rows and 165 columns to check if it contains constants or formulas. Any help with how I may be viewing this or anything else, I would really really appreciate it, runtime is 20 mins + and counting.


    Please Login or Register  to view this content.
    Last edited by cmore; 07-13-2014 at 03:23 PM.

  2. #2
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    Re: Extracting with Uneven Data

    So I'm going through the data again, and ultimately it seems like I need to find a way to extract the data from an array even though they're not necessarily the same same "length", if I could do this in one pass rather than looping I would be able to reduce the time for the loop

    I have a attached a workbook with basic reference data
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    Re: Extracting with Uneven Data

    So one thing I guess I can do is identify the columns numbers for the "manual columns and then just create a loop against that limited set rather than looping through every column.

+ 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. Faster way to categorize data (Faster than nested-if)
    By excel1985 in forum Excel General
    Replies: 6
    Last Post: 03-05-2014, 07:00 AM
  2. Convert to uppercase - faster than looping?
    By JP Romano in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-06-2011, 03:58 PM
  3. LOOPING: Faster rate of convergence required
    By davidm in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-26-2008, 12:37 AM
  4. [SOLVED] Faster Way of looping through cells
    By Andibevan in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-13-2005, 03:05 AM
  5. [SOLVED] Faster Way of looping through cell values
    By Andibevan in forum Excel General
    Replies: 1
    Last Post: 08-12-2005, 11:05 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