• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Multiply two columns and Sum all the products

jerexwat

New Member
So I'm doing a portfolio analysis with 12 stocks
I have to write a VBA function to multiply each elements in the two columns 'BETA' and 'WEIGHT' to count the portfolio beta
Then, after multiplying, I have to SUM all the 12 output into one figure
How do I do this, without using Application.WorksheetFunction?
**basically how to do SUMPRODUCT without using worksheetfunction.sum
Please Help! :))
Best Regards, jerexwat
 
Last edited:
jerexwat
You should send a sample Excel -file,
with sample data
as well as
with expected results.

Of course, You've read above from New Users - Please Start Here
 
jerexwat
You should send a sample Excel -file,
with sample data
as well as
with expected results.

Of course, You've read above from New Users - Please Start Here
Right of course
I need a VBA function, not a Macro(sub).. so yeah
any help would be highly appreciated :) thank you
 

Attachments

  • sample excel.xlsm
    21.3 KB · Views: 1
Back
Top