Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() if i have a Data stored in Column A with A1 = Column Label, and data are placed in A2:A100 now, i want to get the: average of A1:A5 and store it in A105 average of A6:A10 and store it in A106 average of A11:A15 and store it in A107 and so on. At first i tried to record this macro by doing the following: I tried to assign A105 with "=average(A1:A5)" and A106 with"=A6:A10" then i select A105:A106 and drag it down. However the result is not what i expected as the A107 will have the value "=average(A2:A6) and not average of A11:A15. Therefore, i cant record it. So, how can i achieve this using a macro? Thanks -- changeable ------------------------------------------------------------------------ changeable's Profile: http://www.excelforum.com/member.php...o&userid=15714 View this thread: http://www.excelforum.com/showthread...hreadid=275987 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
colating multi rows of data into single rows - no to pivot tables! | Excel Worksheet Functions | |||
Auto extract data & inserts rows additional rows automatically | Excel Discussion (Misc queries) | |||
Enabling option „Format rows“ to hide/unhide rows using VBA-code? | Excel Discussion (Misc queries) | |||
Counting characters in multiple rows when rows meet specific criteria | Excel Worksheet Functions | |||
Excel 2003 -Rows hidden. Scrolling unhides rows ! How do I stop th | Excel Discussion (Misc queries) |