+ Reply to Thread
Results 1 to 4 of 4

Long Calculating Time

  1. #1
    Registered User
    Join Date
    08-22-2008
    Location
    Michigan
    Posts
    71

    Long Calculating Time

    I managed to put together an array formula to calculate the last date that a rep made a sale. It checks two other tabs in the workbook to find the date, and if none is found, it leaves the cell empty.

    {=IF(MAXA(IF('Daily Compliance'!A:A=B48,'Daily Compliance'!O:O),IF('Daily Compliance 11-07 to 4-08'!B:B=B48,'Daily Compliance 11-07 to 4-08'!A:A))=0,"",MAXA(IF('Daily Compliance'!A:A=B48,'Daily Compliance'!O:O),IF('Daily Compliance 11-07 to 4-08'!B:B=B48,'Daily Compliance 11-07 to 4-08'!A:A)))}

    But it takes sometimes up to 4-5 minutes to make the calculations. Is there possibly a way to simplify it so that it calculates faster, with the same results?
    Last edited by oldchippy; 10-04-2008 at 03:55 AM.

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi,

    Try reducing the range to the actual cells with data, rather than the whole column i.e.
    A1:A1000 rather than A:A
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    08-22-2008
    Location
    Michigan
    Posts
    71
    Thanks! Problem fixed. Because I add new orders daily, at times, I'll have to adjust the end range, but now it calculates out in a matter of seconds instead of minutes! I appreciate the help.

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi,

    Rather than adjust the range, you can get Excel to do this for you by using dynamic named ranges, take a look here

    http://www.contextures.com/xlNames01.html#Dynamic

+ 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. Activate different workbook
    By Launchnet in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 05-02-2008, 12:43 PM
  2. Changing time
    By Ziggy_ks1 in forum Excel General
    Replies: 1
    Last Post: 04-21-2008, 10:42 PM
  3. Time w/in Each Hour of Day btwn a Time Range
    By gbrogmus in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-30-2007, 03:01 AM
  4. Hiding macro passwords??
    By mitelkm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-16-2007, 04:51 PM
  5. Hide messagbox
    By tqm1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-01-2007, 01: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