Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
JPP JPP is offline
Member
 
Posts: 35
Post Average Time Not Calculating

I have a simple AVERAGE function, it averages the call time for all agents. I am not having troubles with the function itself though. The problem is when I copy and paste the information into the workbook, the information shows, but it does not "average" the time. I have to double click on each cell individually, after I double click on every cell with a time in it, it then averages the call time. Why does this not work right after pasting the information in? I have also tried doing a "paste special" but that did not work either. Thanks in advance!
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by JPP View Post
I have a simple AVERAGE function, it averages the call time for all agents. I am not having troubles with the function itself though. The problem is when I copy and paste the information into the workbook, the information shows, but it does not "average" the time. I have to double click on each cell individually, after I double click on every cell with a time in it, it then averages the call time. Why does this not work right after pasting the information in? I have also tried doing a "paste special" but that did not work either. Thanks in advance!
When you say you tried "paste special" do you mean "paste special / values"?
If so then it will work on the proviso the cells you're pasting into are formatted the same as the others that do work.

Give that a try, and if still no luck, post an example workbook (without confidential information) on here and someone will happily help out.

S.
  #3   Report Post  
JPP JPP is offline
Member
 
Posts: 35
Post

Spencer,

Whenever I attempt to do a paste special with values, then Excel doesnt calculate ANYTHING. And there is ALOT of calculating going on. I would rather double click every cell, then have nothing calculate. I don't get it, the average call time is the only one that doesn't work, until I double click on the cell containing the time of the call.

I am trying to upload a copy of this, but unfortunately, it is over the size limit. It is a very big project. Yikes.
  #4   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by JPP View Post
Spencer,

Whenever I attempt to do a paste special with values, then Excel doesnt calculate ANYTHING. And there is ALOT of calculating going on. I would rather double click every cell, then have nothing calculate. I don't get it, the average call time is the only one that doesn't work, until I double click on the cell containing the time of the call.

I am trying to upload a copy of this, but unfortunately, it is over the size limit. It is a very big project. Yikes.
Hi,

I've PM'd you an email address. If you want to ping your spreadsheet there I can take a look at it, then come back here with the answer so others can benefit.

S.
  #5   Report Post  
JPP JPP is offline
Member
 
Posts: 35
Post

I got it. I just took out some of the stuff I didn't need help with. Thanks.


  #6   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by JPP View Post
I got it. I just took out some of the stuff I didn't need help with. Thanks.


The numbers are formatted as text, which is why the average formula is not picking them up.

As far as I see it, if you fix the root problem all will work well into the future.
When you said you copy and paste this data in, where do you copy it from?
If from another workbook then fix the formatting in that/those one/ones and you should be OK.

Let me know if you need more help.
  #7   Report Post  
JPP JPP is offline
Member
 
Posts: 35
Post

Try this....
Attached Files
File Type: zip 123.zip (93.1 KB, 38 views)
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 259
Default Average Time Not Calculating

On 11/06/2012 11:19 PM, JPP wrote:
I have a simple AVERAGE function, it averages the call time for all
agents. I am not having troubles with the function itself though. The
problem is when I copy and paste the information into the workbook, the
information shows, but it does not "average" the time. I have to double
click on each cell individually, after I double click on every cell with
a time in it, it then averages the call time. Why does this not work
right after pasting the information in? I have also tried doing a "paste
special" but that did not work either. Thanks in advance!




Hi

Make sure the cells you are pasting to are formatted as [h]:mm

Then you can PasteSpecial.Value into the cells
HTH
Mick.
  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,045
Default Average Time Not Calculating

On Mon, 11 Jun 2012 13:19:11 +0000, JPP wrote:


I have a simple AVERAGE function, it averages the call time for all
agents. I am not having troubles with the function itself though. The
problem is when I copy and paste the information into the workbook, the
information shows, but it does not "average" the time. I have to double
click on each cell individually, after I double click on every cell with
a time in it, it then averages the call time. Why does this not work
right after pasting the information in? I have also tried doing a "paste
special" but that did not work either. Thanks in advance!


Your data in the time column, on the sheet that you posted for examination, is TEXT. The average function ignores text, hence the div/0 error.

There is probably something in your import process, from the original database, that is resulting in your time values being interpreted as text strings, rather than as numbers.
I would suggest reviewing your import method, and ensuring that these numbers are imported as numbers.

Alternative methods of dealing with the problem:
Convert the text strings to numbers after import:
Method 1 you are already using -- Edit each cell individually -- but that is tedious
Method 2: Place a 1 in some unused cell.
Select the cell
Edit/Copy
Select 'CCI Info'!L2:L101
Edit/Paste Special Operation: Multiply

Change the Average formula to handle the data as written. e.g: the array formula (entered with <ctrl<shift<enter)

=AVERAGE(IF('CCI Info'!L2:L101="","",--'CCI Info'!L2:L101))

would do that EXCEPT the cell in which you have the formula is a MERGED cell. While merged cells are often convenient, they have many limitations. One of these limitations is that you cannot have an ARRAY formula in a merged cell! So you would have to change the layout of your worksheet to use this solution.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating Average Time Eán[_2_] Excel Worksheet Functions 3 March 2nd 09 04:18 PM
Calculating an average Maggie Excel Worksheet Functions 1 August 22nd 08 03:50 AM
Calculating Average ub Excel Discussion (Misc queries) 2 July 16th 08 05:14 PM
Calculating Average Graham Excel Worksheet Functions 1 July 2nd 08 04:40 PM
Calculating the average Andy_Trow Excel Discussion (Misc queries) 3 July 27th 07 02:15 PM


All times are GMT +1. The time now is 06:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"