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: 5
Default Simplify

I want to lose Array3 as a variable and make x = to the #
of cells in Array1 as long as Array1 and Array2 have the
same number of cells. Also I am only using a single
column for Array1 and Array2. This is like sumproduct
function in excel only different.

Function Deconvoloution(Array1 As Range, Array2 As Range,
Array3 As Integer)

Dim x As Integer
Dim y As Integer
Dim Final
Final = 0
x = Array3
y = 1

Do Until x = 0
Final = Final + (Array1(y) * Array2(x))
x = x - 1
y = y + 1
Loop

Deconvoloution = Final
End Function
 
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
I need to simplify this... j5b9721 Excel Worksheet Functions 5 July 23rd 09 09:03 AM
How to simplify CONCATENATE Siva Excel Discussion (Misc queries) 3 August 27th 08 01:16 PM
simplify this formula?? Dave F Excel Discussion (Misc queries) 6 September 27th 06 05:28 PM
simplify equation EBronco67 Excel Worksheet Functions 3 April 19th 06 08:00 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM


All times are GMT +1. The time now is 03:33 PM.

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"