LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Referring to a certain column in an array

One way:

With Application.WorksheetFunction
Debug.Print .Average(.Index(MyArray,,6))
End With

In article
,
avi wrote:

Hello,

I have an array with 10 column and many rows

I want to perform an Excel function (as average) on a specific column

Is there a way to do it directly? I look for something as :

Application.Average(MyArray(*,6)) for the average of
column 6

Thanks for your help

Avi

 
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
Referring to a row or column Nick London Excel Programming 1 July 4th 06 09:23 AM
Referring to a column Hru48 Excel Discussion (Misc queries) 1 January 31st 06 05:59 PM
Referring to multiple elements of an array (VB) Phil Excel Programming 2 November 18th 05 04:46 AM
Referring to a column Mike D. Excel Programming 1 March 1st 05 03:54 PM
Referring to Microsoft Excel array in VBA Alan Beban[_2_] Excel Programming 5 April 22nd 04 08:35 AM


All times are GMT +1. The time now is 06:45 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"