ralexander2209
New Member
- Joined
- Mar 23, 2015
- Messages
- 7
I am running a price analysis on products that we have purchased last year and attempting to compare it to the market average each week.
To identify the products we have assigned 4 letter product codes to each product (LAMD, LANR ect.).
The information I want the weighted average for is in another workbook which contains our market research on the market average each week. This workbook is linked to the current workbook I am working in.
What I want to do is average the prices of a specific product in the "interactive graph". The problem I'm running into is getting the range and the "tags" to index the correct data. I'm getting a #Value error.
What I have so far:
=AVERAGEIFS(PRICES1,'[Interactive Lumber Graph.xlsm]Lumber1 History'!$B$4:$B$1000,>=StartDate,'[Interactive Lumber Graph.xlsm]Lumber1 History'!$B$4:$B$1000,"<=EndDate",_TAG1,AD2)
PRICES1: the price range of ALL of the products that our company sells
I am then linking the dates of all the dates that we have in the graph...I have a name range but for some reason it won't let me select it...the name is "DATES1"
>=STARTDATE= a link to the start date of the analysis and this is using the "DATES1" Range again
<=ENDDATE= self explanatory (please ask if you are lost)
Then I am trying to link the "TAGS" to the specific product tag
_TAG1: ALL OF THE PRODUCT TAGS IN OUR COMPANY.
AD2 the tag I am looking for the weighted average.
Been working on this for a couple days by myself and finally conceded to the help of strangers haha
To identify the products we have assigned 4 letter product codes to each product (LAMD, LANR ect.).
The information I want the weighted average for is in another workbook which contains our market research on the market average each week. This workbook is linked to the current workbook I am working in.
What I want to do is average the prices of a specific product in the "interactive graph". The problem I'm running into is getting the range and the "tags" to index the correct data. I'm getting a #Value error.
What I have so far:
=AVERAGEIFS(PRICES1,'[Interactive Lumber Graph.xlsm]Lumber1 History'!$B$4:$B$1000,>=StartDate,'[Interactive Lumber Graph.xlsm]Lumber1 History'!$B$4:$B$1000,"<=EndDate",_TAG1,AD2)
PRICES1: the price range of ALL of the products that our company sells
I am then linking the dates of all the dates that we have in the graph...I have a name range but for some reason it won't let me select it...the name is "DATES1"
>=STARTDATE= a link to the start date of the analysis and this is using the "DATES1" Range again
<=ENDDATE= self explanatory (please ask if you are lost)
Then I am trying to link the "TAGS" to the specific product tag
_TAG1: ALL OF THE PRODUCT TAGS IN OUR COMPANY.
AD2 the tag I am looking for the weighted average.
Been working on this for a couple days by myself and finally conceded to the help of strangers haha