# \$a\$2

1. ### Run a Macro when cell is changed

Good Day to you all I have a dilema I have this code: Private Sub Worksheet_Change(ByVal Target As Range) If Target.Address = "\$A\$2" Then Sheets("Sales").Range("All_Data").AdvancedFilter Action:=xlFilterCopy, _ CriteriaRange:=Range("Criteria"), _ CopyToRange:=Range("Extract"), _ Unique:=False...
2. ### INDIRECT help

Hi I have the following but would like to change the \$A\$2 the same formual as the second cell reference ie \$A\$"&MATCH(S3,Summary!A:A,0) but I'm struggling =AVERAGE(IF(WEEKDAY(INDIRECT("Summary!\$A\$2:\$A\$"&MATCH(S3,Summary!A:A,0)),2)=M2,INDIRECT("Summary!\$E\$2:\$E\$"&MATCH(S3,Summary!A:A,0))))...
3. ### Dynamic 'Defined Name' values within a formula not providing expected results

Have a formula: =SUMPRODUCT(COUNTIFS( INDIRECT("'"&\$A\$2&"'!\$H\$3:\$H\$99955"), \$A\$2 & UAT, INDIRECT("'"&\$A\$2&"'!\$G\$3:\$G\$99955"), \$A\$2 & Defect)) WHERE \$A\$2 refers to a dynamic value which serves as a prefix in the Defined Name naming convention. Results being returned are not in agreement with...
4. ### Getting data from weekly sheet that changes name

We have a weekly excel file that records all our sales, inventory etc. I would like to be able to pull some of the information from last week’s file when I start this weeks, using ‘C:\Weekly\[week2]inventory’!\$A\$1 works, but to reset all the different cells defeats the purpose. What I would...

### 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.

### Which adblocker are you using?

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

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