SOLVED

Assistance needed with Index/Match or another alternative

Copper Contributor

Could someone please assist with the following:

 

  1. Sheet1 contains a number of different scales (Scale1, Scale2, Scale3...) that are numeric or alphanumeric. 
  2. The main scale has values 0 to 100. All scales are as rows.
  3. Sheet 2 contains a drop down to show all the available scales from sheet 1
  4. 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.
  5. A value on Scale2 can correspond to multiple values on the main scale.
  6. 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

4 Replies
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)
best response confirmed by Spicierboar (Copper Contributor)
Solution

@Spicierboar , as variant, for such model

image.png

=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)
1 best response

Accepted Solutions
best response confirmed by Spicierboar (Copper Contributor)
Solution

@Spicierboar , as variant, for such model

image.png

=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)

View solution in original post