Excel Match and Index - Sort by define values

Eugenio1991

New Member
Joined
Jul 30, 2018
Messages
4
Good Day All ,
Need Help , Im trying to write a formula that will return sorted values base on two criteria, currently working with one . Example is below,

Data is from Sku to Ranking . Formula is written on the Answers line..
i need the formula to return the values per "PK" line base on the ranking given.

Current formula i use is "=IFERROR(INDEX($A$3:$A$250, MATCH(0, IF("Pk10Y"=$AF$3:$AF$250, COUNTIF($AJ$14:AJ22, $A$3:$A$250), ""), 0))," ") but only work for the Pk criteria and need to add the ranking.

any help if welcome .
Thank You.


SKU DescriptionPK LineRankingAnswers Line 1 Answers Line 2Answers Line 2
75069115Org Baby Kale 100%, 6X9 oz, BIL Clam, og1375069415
75069215Org Baby Kale 100%, 6X9 oz, SPEC Clam, og2275069315
75069415Org Baby Kale 100%, 6X9 oz, SPEC BIL Clam, og1175069115
75069315Org Baby Kale 100%, 6X9 oz, Clam, og12
39000017Org Baby Spinach, 6X1 LB SPEC BIL Clam, og22
39000006Org Baby Spinach, 6X1 LB SPEC Clam, og21
39060315Org Baby Spinach, 6X1 LB BIL Clam, og32
39061615Org Baby Spinach, 6X1 LB Clam, og31

<colgroup><col><col><col><col><col span="2"><col><col span="2"></colgroup><tbody>
</tbody>
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,214,627
Messages
6,120,610
Members
448,973
Latest member
ChristineC

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