LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default how to perform function (e.g. Sum, Average) on VB 3-d Array

Hi there
can I use a excel function such as SUM on a 3d array?
e.g.

Dim array1(10,10,10)
Dim av1 as integer
av1 = Application.WorksheetFunction.average(array1(1,1,1 ):array1(10,1,1)
debug.print av1


many thanks

 
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
Adding or to previously provided Average If Array function Diddy Excel Worksheet Functions 4 December 14th 09 02:01 AM
Adding if to Average If Array function Diddy Excel Worksheet Functions 5 December 10th 09 03:45 PM
how do I perform a conditional average with exclusions? Sandre Excel Discussion (Misc queries) 5 February 23rd 09 06:10 PM
Small Array is too big for AVERAGE Function? daven123 Excel Worksheet Functions 6 November 29th 06 02:22 PM
perform 1 function, stop, perform different function nastech Excel Discussion (Misc queries) 0 August 22nd 06 12:21 PM


All times are GMT +1. The time now is 09:53 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"