Sorting with a formularised column

Peter Davison

Active Member
Joined
Jun 4, 2020
Messages
433
Office Version
  1. 365
Platform
  1. Windows
I have a list of products Column C which has come from a different sheet (Pivot Top Sellers) based on a group name in Column B.
Using the code below it provides me a list of products that are specific to just that group.

Excel Formula:
=IFERROR(INDEX('Pivot Top Sellers'!C:C, SMALL(IF((Dashboard!$CE$10='Pivot Top Sellers'!B:B), MATCH(ROW('Pivot Top Sellers'!B:B), ROW('Pivot Top Sellers'!B:B)), ""),ROWS($A$1:A1))),"-")

Where this final data is in a separate worksheet (Dashboard) there are various other columns next to the products, which I would like to sort on.
Because the formula above brings the data in as a list in the order of the sheet where it gets the info from, when I sort it, it does not change the products order.
Is there any other ways to bring in the products so they can be sorted?

Any help would be appreciated.
 
Last edited by a moderator:

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,213,546
Messages
6,114,251
Members
448,556
Latest member
peterhess2002

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