SOLVED
Home

Assistance needed with Index/Match or another alternative

%3CLINGO-SUB%20id%3D%22lingo-sub-544883%22%20slang%3D%22en-US%22%3EAssistance%20needed%20with%20Index%2FMatch%20or%20another%20alternative%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-544883%22%20slang%3D%22en-US%22%3E%3CP%3ECould%20someone%20please%20assist%20with%20the%20following%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3ESheet1%20contains%20a%20number%20of%20different%20scales%20(Scale1%2C%20Scale2%2C%20Scale3...)%20that%20are%20numeric%20or%20alphanumeric.%26nbsp%3B%3C%2FLI%3E%3CLI%3EThe%20main%20scale%20has%20values%200%20to%20100.%20All%20scales%20are%20as%20rows.%3C%2FLI%3E%3CLI%3ESheet%202%20contains%20a%20drop%20down%20to%20show%20all%20the%20available%20scales%20from%20sheet%201%3C%2FLI%3E%3CLI%3EIf%20a%20user%20selects%20a%20scale%20from%20the%20drop%20down%20(e.g.%2C%20Scale2)%20and%20enters%20a%20value%2C%20then%20the%20corresponding%20value%20from%20the%20main%20scale%20should%20be%20displayed.%3C%2FLI%3E%3CLI%3EA%20value%20on%20Scale2%20can%20correspond%20to%20multiple%20values%20on%20the%20main%20scale.%3C%2FLI%3E%3CLI%3EThe%20formula%20should%20display%20the%20highest%20corresponding%20value%20from%20the%20main%20scale.%3C%2FLI%3E%3C%2FOL%3E%3CP%3EExample%3A%3C%2FP%3E%3CP%3EScale%202%20Values%20are%3A%20A1%2C%20A1%2C%20A1%2C%20A1%2C%20A2%2C%20A2...%20Main%20Scale%20Values%20100%2C%2099%2C%2098%2C%2097%2C%2096%2C%2095.%20So%20A1%20can%20equal%20100%2C%2099%2C%2098%20or%2097.%20Only%20100%20(the%20highest%20value)%20should%20be%20displayed.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYour%20help%20is%20greatly%20appreciated.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-544883%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-545949%22%20slang%3D%22en-US%22%3ERe%3A%20Assistance%20needed%20with%20Index%2FMatch%20or%20another%20alternative%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-545949%22%20slang%3D%22en-US%22%3EHi%3CBR%20%2F%3ESounds%20like%20you%20could%20use%20MAXIFS%20to%20bring%20back%20the%20max%20value%20from%20Main%20Scale%20that%20corresponds%20to%20the%20selected%20Scale%3CBR%20%2F%3E%3CBR%20%2F%3Ee.g.%20%3D%20MAXIFS(%20MainScaleColumn%2C%20ScaleColumn%2C%20SelectedScale)%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-548390%22%20slang%3D%22en-US%22%3ERe%3A%20Assistance%20needed%20with%20Index%2FMatch%20or%20another%20alternative%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-548390%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F337800%22%20target%3D%22_blank%22%3E%40Spicierboar%3C%2FA%3E%26nbsp%3B%2C%20as%20variant%2C%20for%20such%20model%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20440px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F112588i35211D9E1BD5CDE5%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CPRE%3E%3DAGGREGATE(14%2C6%2C1%2F(INDEX(A3%3AG4%2CMATCH(B6%2CA3%3AA4%2C0)%2C2)%3AINDEX(A3%3AG4%2CMATCH(B6%2CA3%3AA4%2C0)%2C7)%3DB7)*%24B%242%3A%24G%242%2C1)%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-550729%22%20slang%3D%22en-US%22%3ERe%3A%20Assistance%20needed%20with%20Index%2FMatch%20or%20another%20alternative%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-550729%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3BThis%20works.%20Thank%20you.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-552190%22%20slang%3D%22en-US%22%3ERe%3A%20Assistance%20needed%20with%20Index%2FMatch%20or%20another%20alternative%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-552190%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F337800%22%20target%3D%22_blank%22%3E%40Spicierboar%3C%2FA%3E%26nbsp%3B%2C%20you%20are%20welcome%3C%2FP%3E%3C%2FLINGO-BODY%3E
Spicierboar
New 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)
Highlighted
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)
Related Conversations
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Early preview of Microsoft Edge group policies
Sean Lyndersay in Discussions on
65 Replies