PLEASE HELP—Macro

Wildcats23

New Member
Joined
Dec 6, 2018
Messages
10
Hello,
I need help writing a Macro that can run a dynamic sum(countifs,countifs) in a range of D3:AD29. The formula has to reference row 2 and column 1 as part of its inputs. As an example the hard code formula looks something like this =sum(countifs(fixed,row reference,fixed,column reference ),Countifs(fixed, row reference, fixed, column reference). I would like this to run in the background so it only shows the cell values when I click any cell in the D3:D29 range. Thank you!!!
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Have you tried using the Macro recorder ?
Can you also give us a living example of the formula AND the data ?
 
Upvote 0
I currently have the entire Range of D3:AD29 already filled with the individual formulas I'm talking about. To better clarify, I wanted to have the macro run those formulas in the background so when I present I can click into the cell an it wont show the formula just the result. So I don't think I could use the recorder in that case. Do you know how to do this?
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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