+ Reply to Thread
Results 1 to 5 of 5

Excel 2010 macros breaking - please help me!

  1. #1
    Registered User
    Join Date
    08-15-2013
    Location
    Knoxville, TN
    MS-Off Ver
    Excel 2010
    Posts
    3

    Excel 2010 macros breaking - please help me!

    Hi,

    This is slightly convoluted because I'm trying to explain this whole situation. I have a spreadsheet at work tracking customer service complaints. I track the number of days it takes to close a complaint and from there, I track:

    (A) the average time it takes to close a ticket [via a simple =AVERAGE("Sustaining items"!L3:3000) function]

    (B) the minimum and maximum days it has taken to close a ticket [ with two equations - =MAX(Sustaining items'!L3:L3000) and for the minimum =SMALL('Sustaining items'!L3:L3000,COUNTIF('Sustaining items'!L3:L3000,0)+1) ]

    (C) the # of complaints per month [simple =COUNTIF('Sustaining items'!$H$3:$H$3000,">="&Metrics!$B11) ]

    (D) monthly items including the number of days to close a ticket per month [=SUMIF('Sustaining items'!$H$3:$H$3000,">="&Metrics!$B11, 'Sustaining items'!$L$3:$L$3000)-SUMIF('Sustaining items'!$H$3:$H$3000,">="&Metrics!$B12, 'Sustaining items'!$L$3:$L$3000) where B11 and B12 are months],

    (E) the number of tickets closed per month [=SUMIF('Sustaining items'!$H$3:$H$3000,">="&Metrics!$B17, 'Sustaining items'!$N$3:$N$3000)-SUMIF('Sustaining items'!$H$3:$H$3000,">="&Metrics!$B18, 'Sustaining items'!$N$3:$N$3000) ],

    (F) and from the previous two, the average days to close tickets/month [which is the days to close a ticket per month cell divided by the number of tickets closed per month cell].

    Somehow, when my coworker was updating our spreadsheet, the macros got messed up. Because the complaint list goes up each day, I have my macros set to count up to the 3,000th column and for months this has worked. However, as of yesterday (according to the coworker), I'm getting mostly #VALUE! returned. This is happening for all of the bullet points listed above EXCEPT the # of complaints per month, so A, B, D, E, and F are broken.

    The macros count all the way back to January 2011, and for some reason, D, E, and F are NOT broken past October 2012; however, they use the same equations.

    Just in playing around with it, I've noticed that when I only count to column 156, I get real values returned instead of the error. Past 156 it's all #VALUE! .

    Does anyone have any idea what's going on?! I'm totally stumped and need to fix this ASAP!! I would appreciate any insight available

    Note: I tried to attach screenshots of my workbook. Columns A, B, C, D, E, and F that I listed above are labeled with the corresponding alphabetic letter in green - it does not refer to the actual Excel column. I also have a snapshot of the referred to 'Sustaining items' tab that my macros pull info from. The attaching process isn't working for me, so if you would like to see those please let me know and I can email them.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Excel 2010 macros breaking - please help me!

    Please upload a workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context.

    Show a before and after situation and if it's not blindingly obvious how you have arrived at your results some explanatory notes as well.

    Please don't upload pictures. None of us are inclined to recreate your data when you have a workbook available - see guidelines in the Rules area of this forum.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    08-15-2013
    Location
    Knoxville, TN
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Excel 2010 macros breaking - please help me!

    Sorry about that - I should have checked the rules. I created a new workbook with all of the broken information and deleted company information, but it is still not uploading the .xlsx file.

  4. #4
    Registered User
    Join Date
    08-15-2013
    Location
    Knoxville, TN
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Excel 2010 macros breaking - please help me!

    I am getting the error [IOErrorEvent type = "ioError" bubbles=false cancelable=false eventPhase=2 text="Error#2038"]

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Excel 2010 macros breaking - please help me!

    shaymac,

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem. Once you have done this please send me a PM and I will remove this request.

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. breaking up of date and time in pivot table excel 2010
    By Stole in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-31-2013, 11:52 AM
  2. Excel 2010- Links keep breaking, updating values issue too
    By psumeb in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-15-2013, 01:16 PM
  3. Excel 2010 Using Macros
    By SelfTaughtNowPuzzled in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-09-2013, 02:51 AM
  4. Breaking a number into ranges of values in Excel 2010
    By skennedyaz in forum Excel General
    Replies: 5
    Last Post: 04-20-2012, 02:45 AM
  5. Problem with breaking combobox link in version 2010
    By Charlene Hainsworth in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-26-2011, 01:34 PM

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