ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sorting with matching header (https://www.excelbanter.com/excel-worksheet-functions/147385-sorting-matching-header.html)

TouchTone

Sorting with matching header
 
Hi

I need some solutions to the following. Please help.

Original

Supplier 1 Supplier 2 Supplier 3 .......
Product 1 5 10 15
Product 2 10 8 9
Product 3 15 25 4
..
..
..
Sort Results wanted to be as show

Product 1 Supplier 1, Supplier 2, Supplier 3
Product 2 Supplier 2, Supplier 3, Supplier 1
Product 3 Supplier 3, Supplier 1, Supplier 2


--
TouchTone Support

bj

Sorting with matching header
 
if your suppliers are in row 1 and product in column a
copy the product names to another location (A11?)
and in B11
=INDEX($B$1:$D$1,1,RANK(B2,$B2:$D2,1))
copy and paste to B11:D13


"TouchTone" wrote:

Hi

I need some solutions to the following. Please help.

Original

Supplier 1 Supplier 2 Supplier 3 .......
Product 1 5 10 15
Product 2 10 8 9
Product 3 15 25 4
.
.
.
Sort Results wanted to be as show

Product 1 Supplier 1, Supplier 2, Supplier 3
Product 2 Supplier 2, Supplier 3, Supplier 1
Product 3 Supplier 3, Supplier 1, Supplier 2


--
TouchTone Support



All times are GMT +1. The time now is 01:51 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com