Locate highest and lowest showing values in numbers and text

Caly

Board Regular
Joined
Jul 19, 2015
Messages
159
Office Version
  1. 365
  2. 2013
  3. 2011
  4. 2010
  5. 2007
Platform
  1. Windows
Hello I have a table showing items in rows and sizes in column headers along with a breakout for quantities and sales. I’m trying to show a summary where a formula will have a summary to show the highest seller, second, third and so on all the way to the lowest.

Is there a max or min formula for this or an index match? I’m confused and stumped with this to do a formula. Thank you to all in advance.

Below is the data
TypeQty SQty MQty LSales SSales MSales L
Blue605774.5611.1223.45
Yellow3043563.2510.9816.55
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Maybe you've already thought of this but could you sum up the S,M & L sales in another column to the right of Sales L and sort by that?
 
Upvote 0
You can use = Large(the range with the total sale,rank (1st is largest, 2nd is 2nd largest etc).

You could use a helper column to go from 1 to the total number of items you have (maybe more if you want future capacity) to reference in the Large formula.
Then you could use the MATCH function to match the total number with the row it's from and wrap than in an Index so you can then pull in other data from the other columns like Qrts S etc.
 
Upvote 0
Thank you I didn’t no but not sure if I’m thinking about that approach in how you are suggesting which may be great

Looking to have a summary showing which line has the highest and lowest

So looking to see in the example the below but trying to make a formula way so when there’s multiple lines it will have a summary populate

Looking for the below;
1. Yellow, L, 4356 Qty, 16.55 sales
2. Blue, L, 77 Qty, 23.45 sales
3. Blue, S, 60 Qty, 11.12 sales
 
Upvote 0
Would the following presentation work for you?

Book2
ABCDEFG
1TypeQty SQty MQty LSales SSales MSales L
2Blue605774.5611.1223.45
3Yellow3043563.2510.9816.55
4
5TypeAttributeValue
6BlueQty S60
7BlueQty M5
8BlueQty L77
9BlueSales S4.56
10BlueSales M11.12
11BlueSales L23.45
12YellowQty S3
13YellowQty M0
14YellowQty L4356
15YellowSales S3.25
16YellowSales M10.98
17YellowSales L16.55
Sheet1
 
Upvote 0
Disregard my earlier post, I mis-read your requirements.
 
Upvote 0
Thank you all. Is there a way to apply the large or small function? Or a match?
 
Upvote 0
With MS365, is this what you want?

23 07 08.xlsm
ABCDEFG
1TypeQty SQty MQty LSales SSales MSales L
2Blue605774.5611.1223.45
3Yellow3043563.2510.9816.55
4
5
6TypeSizeQtySales
7YellowL435616.55
8BlueL7723.45
9BlueS604.56
10BlueM511.12
11YellowS33.25
12YellowM010.98
Sort by Qty
Cell Formulas
RangeFormula
A7:D12A7=LET(t,TEXTSPLIT(TEXTJOIN("|",,TOCOL(A2:A3&" "&B2:D3&" "&B1:D1&" "&E2:G3))," ","|"),CHOOSECOLS(SORT(IFERROR(t+0,t),2,-1),1,4,2,5))
Dynamic array formulas.
 
Upvote 0
Thank you so much. What is the formula for the let (t.
 
Upvote 0
What is the formula for the let (t.
I don't understand the question. let(t isn't a formula, it is just part of the longer formula.

Did the whole formula that I posted do what you want?
 
Upvote 0

Forum statistics

Threads
1,215,088
Messages
6,123,056
Members
449,091
Latest member
ikke

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