Convert Array Formula to work in macro?

eblake

Active Member
Joined
Aug 18, 2004
Messages
258
I have the following Array Formula in a spreadsheet, the same basic formula is used for 8 columns by 30 rows, if theres only one sheet recalculating it is quick, but there are 15-30 sheets like this. Is it possible to make a macro get the answer to the formula and put it on the page to cut down on calculation time?

{=SUM(IF(Data!$D$2:$D$9984=$D$10,IF(Data!$B$2:$B$9984=$B13,Data!$E$2:$E$9984,0),0))}

Thanks in advance.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Unfortunately that puts the calculations back on the spreadsheet. I'm hoping to generate the answer through a macro rather than a formula.

Thanks for the suggestion.
 
Upvote 0

Forum statistics

Threads
1,203,620
Messages
6,056,334
Members
444,861
Latest member
B4you_Andrea

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top