Hello,
I created a macro that pastes a formula into a cell. It should look like this:
=IFERROR(INDEX(Physical_Sample!$A$2:$A$17, MATCH(0,COUNTIF($AE$1:AE1,Physical_Sample!$A$2:$A$17), 0)),"")
What happens is Excel automatically adds the “@” sign in front of the second occurrence of the sheet tab name:
=IFERROR(INDEX(Physical_Sample!$A$2:$A$17, MATCH(0,COUNTIF($AE$1:AE1,@Physical_Sample!$A$2:$A$17), 0)),"")
With the @ sign, it doesn’t pull any results. If I remove the @ sign manually, it works fine.
Do I need to do use Substitute to get rid of the @ sign?
Any help is appreciated.
I created a macro that pastes a formula into a cell. It should look like this:
=IFERROR(INDEX(Physical_Sample!$A$2:$A$17, MATCH(0,COUNTIF($AE$1:AE1,Physical_Sample!$A$2:$A$17), 0)),"")
What happens is Excel automatically adds the “@” sign in front of the second occurrence of the sheet tab name:
=IFERROR(INDEX(Physical_Sample!$A$2:$A$17, MATCH(0,COUNTIF($AE$1:AE1,@Physical_Sample!$A$2:$A$17), 0)),"")
With the @ sign, it doesn’t pull any results. If I remove the @ sign manually, it works fine.
Do I need to do use Substitute to get rid of the @ sign?
Any help is appreciated.