brandnew22
New Member
- Joined
- Aug 19, 2013
- Messages
- 2
Essential context: I am comparing my company to others in this massive dataset. I have a worksheet of all locations that I am in, all the codes of my company's products, type (1,2,3), product NAME, total cost. That way, each row displays my company in a given market and each market has 15-30 products, i.e., with product names, product codes, types, etc.
Layout I want looks like:
Location | Code | Product Name | Product type| Total Cost | MAXIMUM COMPETITOR PRICE | NAME OF COMPETITOR WITH HIGHEST PRICE | NUMBER of competitors within 20% of Our price
I am trying to find the maximum and minimum that match a specific set of criteria, e.g., location (column A), Code (Column B), Product name (Column C), Type (Column D), so for Las Vegas, Code 19200, Type 3, there might be 20 people that match this, but I want to find the maximum price (e.g., column F). I have tried max(if(and(Sheet1 A:A = Location, Sheet1 B:B = Code, etc etc ))))) but continue to either get wrong values (When I check, there are actually larger values in the desired range) or I get #VALUE!.
Please help me find a function that can do this.
I am also hoping to essentially "loop" through each row and return a count of how many people are within our price range, e.g., NUMBER of competitors within 20% of Our price should use our price for that given record/row as a baseline.
Sample table if it helps:
<tbody>
</tbody>
Layout I want looks like:
Location | Code | Product Name | Product type| Total Cost | MAXIMUM COMPETITOR PRICE | NAME OF COMPETITOR WITH HIGHEST PRICE | NUMBER of competitors within 20% of Our price
I am trying to find the maximum and minimum that match a specific set of criteria, e.g., location (column A), Code (Column B), Product name (Column C), Type (Column D), so for Las Vegas, Code 19200, Type 3, there might be 20 people that match this, but I want to find the maximum price (e.g., column F). I have tried max(if(and(Sheet1 A:A = Location, Sheet1 B:B = Code, etc etc ))))) but continue to either get wrong values (When I check, there are actually larger values in the desired range) or I get #VALUE!.
Please help me find a function that can do this.
I am also hoping to essentially "loop" through each row and return a count of how many people are within our price range, e.g., NUMBER of competitors within 20% of Our price should use our price for that given record/row as a baseline.
Sample table if it helps:
<colgroup><col span="2"><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody> </tbody> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<tbody>
</tbody>