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

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
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,214,832
Messages
6,121,843
Members
449,051
Latest member
excelquestion515

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