this should be an easy one for you pros. I have an averageifs statement that I need to have a dynamic statement created. I am pretty sure I need to use INDIRECT but can't quite figure out how to put it together.
here's the desired statement:
=averageifs(AverageRange,CriteriaRange,">=1500", CriteriaRange,"<=2750")
Where 1500 is held in cell B7 and 2750 is held in cell B6. What I can't figure is how to build the ">=B7" and "<=B6" statements. I've tried using indirect:
=averageifs(AverageRange,CriteriaRange,Indirect(">="&B6), CriteriaRange,Indirect("<="&B7))
but get a Div/0 error. I'm assuming that I need to have the quote at the beginning and end of the statement but not sure how to put them in.
Thanks in advance.
Bookmarks