Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear expert,
I am trying to write code for the following problem; so far without succes. Can you help? First, sort on column A then select the range in column A based on the same name (e.g. Aa). Second, calculate the average of the corresponding range (rows) but 3 columns to the right, and Third put the average of that range in column 7 (the actual output of the macro): columns: A B C D E F G Aa 4 average of range column D: 5.7 Aa 3 average of range column D: 5.7 Aa 10 average of range column D: 5.7 Bb 2 average of range column D: 3 Bb 4 average of range column D: 3 etc. etc. etc. until end of column and last range |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Select different columns within a range | Charts and Charting in Excel | |||
Select range of rows/Columns? | Excel Programming | |||
Copy range from multiple .xls files - output to separate columns per .xls file | Excel Programming | |||
Modfiy row of VB to select range of columns | Excel Programming | |||
VBA Range Issue : Cannot programatically select more than 42 columns | Excel Programming |