None of my searches on the forum seemed to directly address my problem. Seems simple enough. I'm hoping it's just a syntax error, but can't seem to wrap my head around what I'm missing.
In cell $A$1, I have a data validation, pull down menu with a listing of worksheets names contained within the same workbook. $A$1 is formatted as Text. Each worksheet name in the drop down list is surrounded by single quote marks.
I want to reference the value in cell $A$1 in a formula where that value will be the worksheet name. Here is the formula I tried that obviously doesn't work:
=IF(ISERROR(AVERAGEIFS($A$1!$AB$3:$AB$700,$A$1!$AB$3:$AB$700,"<>0")),"N/A",AVERAGEIFS($A$1!$AB$3:$AB$700,$A$1!$AB$3:$AB$700,"<>0"))
Pressing Enter results in an error with the first occurrence of $A$1 highlighted in the formula bar.
I will be adding additional criteria to this formula, which is why I'm using AVERAGEIFS. However, I need this simpler formula to work first.
Can anyone spot my syntax (hopefully) error?
If what I want to do is impossible, I'd appreciate any suggestions anyone might offer.
In cell $A$1, I have a data validation, pull down menu with a listing of worksheets names contained within the same workbook. $A$1 is formatted as Text. Each worksheet name in the drop down list is surrounded by single quote marks.
I want to reference the value in cell $A$1 in a formula where that value will be the worksheet name. Here is the formula I tried that obviously doesn't work:
=IF(ISERROR(AVERAGEIFS($A$1!$AB$3:$AB$700,$A$1!$AB$3:$AB$700,"<>0")),"N/A",AVERAGEIFS($A$1!$AB$3:$AB$700,$A$1!$AB$3:$AB$700,"<>0"))
Pressing Enter results in an error with the first occurrence of $A$1 highlighted in the formula bar.
I will be adding additional criteria to this formula, which is why I'm using AVERAGEIFS. However, I need this simpler formula to work first.
Can anyone spot my syntax (hopefully) error?
If what I want to do is impossible, I'd appreciate any suggestions anyone might offer.