+ Reply to Thread
Results 1 to 1 of 1

Efficient Method to Loop for Multiple Conditions

  1. #1
    Registered User
    Join Date
    07-31-2019
    Location
    South Carolina
    MS-Off Ver
    Office 13
    Posts
    4

    Efficient Method to Loop for Multiple Conditions

    Wondering if anyone has any advise on a more efficient method to loop through a range of cells (9, 20) to cells(307, 58), which is a graphical display of a calendar, find certain values and apply a condition to them. Essentially this is a dynamic calendar that tracks how long someone has been in a position in months and projects out graphically to Oct 2022. Each column from 20 to 58 is a month and each row from R9 to R301 is a position and name. The months in column 20 to 58 update automatically.

    This function searches through the entire calendar section and looks for key dates and changes some formatting. It unmerges the cell and places some information below it. I.E. for 12 months it places "1 YR" beneath it and changes the 12 cell to fill black and changes the font color.

    The code loops through each cell for each condition and I'm wondering if theres a method to check each cell for each condition then move on instead of checking for one condition per entire loop. I have attached the worksheet as well.

    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. Seeking more efficient method to check multiple tab headers and storing in arrays
    By Douglas_D in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-13-2016, 03:23 PM
  2. Count Unique Values With Multiple Conditions, Array Method
    By 5150 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-28-2014, 04:37 PM
  3. [SOLVED] More efficient (faster) sub-String method?
    By Bytor47 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-12-2013, 08:40 AM
  4. [SOLVED] Looking for more efficient method of dividing actual spends
    By anemptyroad in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-19-2013, 12:42 PM
  5. Replies: 6
    Last Post: 07-06-2012, 03:42 PM
  6. A More Efficient Method Than the Evaluate Method?
    By anthony.mcgovern in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 12-22-2011, 05:39 AM
  7. Replies: 4
    Last Post: 12-08-2009, 10: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