Hi,
I am new to Excel VBA but already forced to handle more complex issues. I’m not able to solve following problem:
I’ve created a (Poisson-)Matrix in L4:AF24 where each cell is of the following form, e.g. L4
=POISSON(0;B2;FALSE)*POISSON(0;E2;FALSE)
where (0;…)*(0;…) increase by going down or right within the matrix.
B2 and E2 are in this example my first two input values for which I want to calculate my results.
The results are always three values which represent the sum of a certain part of the matrix. So all three result values are only dependent on my two input values from columns B and E.
The three result values should be presented in columns F:H, two rows below the row which includes the two input values in B and E. For the example of my first two input values B2 and E2 the results should be presented in F4:H4 by calculating the results using the L4:AF24, described above.
Since there are thousands of relevant values in columns B and E (only in every 82th row) I need to create a macro. Unfortunately I’m still not able to handle this issue! I’ve already tried some code, e.g. „application.calculate“ but I’m not sure how to calculate with two input values although searching for useful information since days..
Is there anybody who is able and willing to help? It would be great, thank you!
Bookmarks