Forum Discussion
Spicierboar
May 08, 2019Copper Contributor
Assistance needed with Index/Match or another alternative
Could someone please assist with the following:
- Sheet1 contains a number of different scales (Scale1, Scale2, Scale3...) that are numeric or alphanumeric.
- The main scale has values 0 to 100. All scales are as rows.
- Sheet 2 contains a drop down to show all the available scales from sheet 1
- If a user selects a scale from the drop down (e.g., Scale2) and enters a value, then the corresponding value from the main scale should be displayed.
- A value on Scale2 can correspond to multiple values on the main scale.
- The formula should display the highest corresponding value from the main scale.
Example:
Scale 2 Values are: A1, A1, A1, A1, A2, A2... Main Scale Values 100, 99, 98, 97, 96, 95. So A1 can equal 100, 99, 98 or 97. Only 100 (the highest value) should be displayed.
Your help is greatly appreciated.
Thanks
Spicierboar , as variant, for such model
=AGGREGATE(14,6,1/(INDEX(A3:G4,MATCH(B6,A3:A4,0),2):INDEX(A3:G4,MATCH(B6,A3:A4,0),7)=B7)*$B$2:$G$2,1)
4 Replies
- SergeiBaklanDiamond Contributor
Spicierboar , as variant, for such model
=AGGREGATE(14,6,1/(INDEX(A3:G4,MATCH(B6,A3:A4,0),2):INDEX(A3:G4,MATCH(B6,A3:A4,0),7)=B7)*$B$2:$G$2,1)
- SpicierboarCopper Contributor
SergeiBaklan This works. Thank you.
- SergeiBaklanDiamond Contributor
Spicierboar , you are welcome
- Hi
Sounds like you could use MAXIFS to bring back the max value from Main Scale that corresponds to the selected Scale
e.g. = MAXIFS( MainScaleColumn, ScaleColumn, SelectedScale)