Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In VBA I have two columns of data
Colour Number Green 25 Green 12 Green 7 Blue 8 Blue 9 etc I want to end up with the average number of Greens, average number of Blues. I don't know how many of each I have when I start. I can count them and determine where green starts and ends. Therefore I can find the average. My problem is I don't know how to define the start and end of a variable range to the average function. I used a cells(i,j)addressing method to find all the greens and then blues. I understand programming well, but am fairly new to object programming. If this is a clear enough explanation, I would most appreciate a hand. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Defining Multiple "named" data ranges for Piot Tables in Excel 200 | Excel Discussion (Misc queries) | |||
Defining a name that represent identical ranges in every sheet | Excel Discussion (Misc queries) | |||
Defining identical names that represent different ranges of cells | Excel Discussion (Misc queries) | |||
Name Defining | Excel Discussion (Misc queries) | |||
Defining Ranges | Excel Worksheet Functions |