Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I need to compute the avg of all 100 iteraions. I set the iterations in the
Tool-options-calculation-iteration. Now i need to compute the avg of all 100 iterations. Any help would be greatly appreciatted. Thanks, Il |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Il,
You would need to use VBA to do the actual calc.... HTH, Bernie MS Excel MVP "il_102" wrote in message ... I need to compute the avg of all 100 iteraions. I set the iterations in the Tool-options-calculation-iteration. Now i need to compute the avg of all 100 iterations. Any help would be greatly appreciatted. Thanks, Il |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Is there an example of something that i can use to do this?
thanks "Bernie Deitrick" wrote: Il, You would need to use VBA to do the actual calc.... HTH, Bernie MS Excel MVP "il_102" wrote in message ... I need to compute the avg of all 100 iteraions. I set the iterations in the Tool-options-calculation-iteration. Now i need to compute the avg of all 100 iterations. Any help would be greatly appreciatted. Thanks, Il |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try something like the sub below, for a formula in cell A1.
HTH, Bernie MS Excel MVP Sub Macro1() Dim i As Integer Dim mySum As Double With Application .Iteration = True .MaxIterations = 1 End With For i = 1 To 100 Range("A1").Calculate mySum = mySum + Range("A1").Value Next i MsgBox "The average is " & mySum / 100 With Application .Iteration = False End With End Sub "il_102" wrote in message ... Is there an example of something that i can use to do this? thanks "Bernie Deitrick" wrote: Il, You would need to use VBA to do the actual calc.... HTH, Bernie MS Excel MVP "il_102" wrote in message ... I need to compute the avg of all 100 iteraions. I set the iterations in the Tool-options-calculation-iteration. Now i need to compute the avg of all 100 iterations. Any help would be greatly appreciatted. Thanks, Il |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you very much!!! it helped a lot
"Bernie Deitrick" wrote: Try something like the sub below, for a formula in cell A1. HTH, Bernie MS Excel MVP Sub Macro1() Dim i As Integer Dim mySum As Double With Application .Iteration = True .MaxIterations = 1 End With For i = 1 To 100 Range("A1").Calculate mySum = mySum + Range("A1").Value Next i MsgBox "The average is " & mySum / 100 With Application .Iteration = False End With End Sub "il_102" wrote in message ... Is there an example of something that i can use to do this? thanks "Bernie Deitrick" wrote: Il, You would need to use VBA to do the actual calc.... HTH, Bernie MS Excel MVP "il_102" wrote in message ... I need to compute the avg of all 100 iteraions. I set the iterations in the Tool-options-calculation-iteration. Now i need to compute the avg of all 100 iterations. Any help would be greatly appreciatted. Thanks, Il |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
plotted Average | Charts and Charting in Excel | |||
Weighed Average of a weiged average when there are blanks | Excel Discussion (Misc queries) | |||
What is this kind of average called? | Excel Worksheet Functions | |||
AVERAGE and STDEV functions with logic | Excel Worksheet Functions | |||
average function in Excel 2002 | New Users to Excel |