Return Text from Corresponding Value

stbrooks13

New Member
Joined
Dec 9, 2014
Messages
40
I would like to return a demographics category's maximum (lowest) dimension in text form. I'm able to determine the maximum value of the dimension, but I can't figure out how to return its text.

Please see sample below. The maximum dimension for the birth year demographics category is
YvawSGZraBCPHs6RA
fairness (on the right at 7), but my Dim Max Text formula is returning "Respect" for all categories (which is interesting because it's not the maximum dimension for any category).

Dim Max Text = MAXX(FILTER(Results,[Dim Rank]=[Dim Max]),Results[Dimension])

Dim Rank = RANKX(ALLSELECTED(Results[Dimension]),RANKX(ALLSELECTED(Results[Dimension]),[Avg Score],,,Dense)+RANKX(ALLSELECTED(Results[Dimension]),[STMT Consistency],,ASC,Dense),,ASC,Dense)

Dim Max = MAXX(SUMMARIZE(Demographics,Demographics[Category],"Max Dim",[Dim Rank]),[Max Dim])

j887Gsurhzmi6goJ6
https://photos.app.goo.gl/j887Gsurhzmi6goJ6
 
Last edited:

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top