# Sorting with a formularised column

#### Peter Davison

##### Board Regular
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
Okay let me try that.
Such a great website.
Cheers

### 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)

Replies
0
Views
148
Replies
2
Views
54
Replies
7
Views
53
Replies
1
Views
67
Replies
2
Views
104

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.

### Which adblocker are you using?

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

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