+ Reply to Thread
Results 1 to 6 of 6

Improving the speed of a loop through a date range

Hybrid View

  1. #1
    Registered User
    Join Date
    06-02-2015
    Location
    Oklahoma
    MS-Off Ver
    2010
    Posts
    8

    Re: Improving the speed of a loop through a date range

    Thanks for all the input!

    xladept: That definitely makes the copying and pasting thing I had much simpler.
    Unfortunately the overall speed is the same. I wonder if it has more to do with the calculations its doing each time rather than looping through the date.

    StuCram: I did try that but it still takes the same amount of time

    Richard: I think the only problem with that is I don't know which dates needed to be copied and pasted over until I cycle through it. A piece of equipment can be assigned a number (0, 1, or 2) referring to (DOWN, SLOW, UP) at any given time based on calculated values. I'm interested in the transition from 0 to 2 (i.e. DOWN to UP or UP to DOWN). However, I don't know when that transition occurs unless I look at every specific time. But you bring up a good point about how I approach it; maybe I need to completely rethink how to gather the dates without having a loop.

    I'll keep working on it!
    Last edited by NorthUnit; 07-10-2015 at 05:15 PM.

+ 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. How to select range of cells that equal certain value...need help improving code.
    By dbravo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-25-2014, 03:28 AM
  2. Improving a Template for Set Range = .Find
    By Doug Nguyen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-06-2014, 09:55 PM
  3. Improving calculation speed of a sheet utilizing many "sumifs"
    By blademan88 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-10-2013, 02:21 PM
  4. Improving Speed of Index and Match Functions
    By hazza147 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-30-2010, 01:05 PM
  5. improving speed and efficiency
    By wishmaker in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-14-2010, 11:08 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