Hi,
I am using the undernoted formula:
The issue is that the range A:A and B:B can change and the result will also be displayed in different cell. So is there a way to prompt user to enter three variables i.e. columns where A:A data is, column for B:B data and where the user wants to display the result.
For e.g. on running the code it will ask user to select three variables i.e. location of C2, A:A and B:B, based on the input entered by the user the script will replace the formula "C2=COUNTIF(A:A,A2)=COUNTIF(B:B,B2)" with the user entered input and display the result.
Any help is appreciated!
I am using the undernoted formula:
Excel Formula:
C2=COUNTIF(A:A,A2)=COUNTIF(B:B,B2)
The issue is that the range A:A and B:B can change and the result will also be displayed in different cell. So is there a way to prompt user to enter three variables i.e. columns where A:A data is, column for B:B data and where the user wants to display the result.
For e.g. on running the code it will ask user to select three variables i.e. location of C2, A:A and B:B, based on the input entered by the user the script will replace the formula "C2=COUNTIF(A:A,A2)=COUNTIF(B:B,B2)" with the user entered input and display the result.
Any help is appreciated!