Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Sorting product row with header result

Dear all

Please advise how do I do the following in Excel.

Supplier1 Supplier2 Supplier3 End Result
Products1 3 1 2 Supplier2 Supplier3 Supplier1
Products2 2 3 1 Supplier3 Supplier1 Supplier2

--
TouchTone Support
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Sorting product row with header result

If you only ever have 3 columns of data then with products listewd in ColA,
starting in A2 and supplier names in B1:D1, the following 3 formulae will get
the results you requi

=INDEX($B$1:$D$1,MATCH(LARGE($B2:$D2,1),$B2:$D2,0) )
=INDEX($B$1:$D$1,MATCH(LARGE($B2:$D2,2),$B2:$D2,0) )
=INDEX($B$1:$D$1,MATCH(LARGE($B2:$D2,3),$B2:$D2,0) )
--
Rgds, Geoff

"A crash reduces
Your expensive computer
To a simple stone"


"TouchTone" wrote:

Dear all

Please advise how do I do the following in Excel.

Supplier1 Supplier2 Supplier3 End Result
Products1 3 1 2 Supplier2 Supplier3 Supplier1
Products2 2 3 1 Supplier3 Supplier1 Supplier2

--
TouchTone Support

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
insert column header in cell below result of max FUNCTION mark s Excel Worksheet Functions 2 July 13th 08 03:36 AM
Returning column header as result Patricia Excel Worksheet Functions 4 July 6th 06 05:36 PM
Display result of formula in header? Hubitron2000 Excel Discussion (Misc queries) 2 March 24th 06 07:25 PM
returning header row as a result... mj Excel Worksheet Functions 17 March 6th 06 01:13 AM
return header as result in excel NN Excel Worksheet Functions 4 January 22nd 05 03:43 PM


All times are GMT +1. The time now is 11:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"