Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You could loop through the two dimensional arrays something like this:
Distance = Sqr((varX(i, 1) - varXData(j, 1)) ^ 2 _ + (varY(i, 1) - varYData(j, 1)) ^ 2) SumDataWeights = SumDataWeights + varData(j, 1) / Distance ^ Power Hope this helps Rowan " wrote: Thanks for your quick response. Is their a way to read a range into a variant as a one dimensional array? Or should I loop through the cells in the range to fill the array? What impact will this have on the speed of filling the arrays. Thank you, Dave |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Use of arrays | Excel Worksheet Functions | |||
Problem with SUMPRODUCT and Arrays | Excel Worksheet Functions | |||
Problem with plotting a chart when using arrays as Values and Xvalues | Charts and Charting in Excel | |||
Arrays | Setting up and Configuration of Excel | |||
arrays in arrays | Excel Programming |