Sorting with a formularised column

Peter Davison

Board Regular
Joined
Jun 4, 2020
Messages
165
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:

Peter Davison

Board Regular
Joined
Jun 4, 2020
Messages
165
Office Version
  1. 365
Platform
  1. Windows
Okay let me try that.
Thankyou for your help.
Such a great website.
Cheers
 

Some videos you may like

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)

Watch MrExcel Video

Forum statistics

Threads
1,127,462
Messages
5,624,871
Members
416,063
Latest member
chaulon199

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
Top