Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DAB DAB is offline
external usenet poster
 
Posts: 14
Default Sorting Columns Values question

Good day,
I have the following table:

A B C
Blue 50 25 15
Red 10 5 32
Green 6 45 12

After sorting, I need the result to give me something like this:

A B C
Blue 50 25 15
Red 32 10 5
Green 45 12 6

Which means that will maintain row integrity but it will re-arrange the
values decreasing from A to C
Any help will be appreciated.
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Sorting Columns Values question

dab wrote:
Good day,
I have the following table:

A B C
Blue 50 25 15
Red 10 5 32
Green 6 45 12

After sorting, I need the result to give me something like this:

A B C
Blue 50 25 15
Red 32 10 5
Green 45 12 6

Which means that will maintain row integrity but it will re-arrange the
values decreasing from A to C
Any help will be appreciated.
Thanks



You could sort each row individually in descending order, or assuming your data
is in A1:D4, put the following in F2 and copy down and across to H4:

=LARGE($B2:$D2,COUNT($B2:$D2)+COLUMN()-8)

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DAB DAB is offline
external usenet poster
 
Posts: 14
Default Sorting Columns Values question



"Glenn" wrote:

dab wrote:
Good day,
I have the following table:

A B C
Blue 50 25 15
Red 10 5 32
Green 6 45 12

After sorting, I need the result to give me something like this:

A B C
Blue 50 25 15
Red 32 10 5
Green 45 12 6

Which means that will maintain row integrity but it will re-arrange the
values decreasing from A to C
Any help will be appreciated.
Thanks



You could sort each row individually in descending order, or assuming your data
is in A1:D4, put the following in F2 and copy down and across to H4:

=LARGE($B2:$D2,COUNT($B2:$D2)+COLUMN()-8)

Hello Glen
Thanks for the tip.
I did the sorting by row and I've got the proper result.
Regards
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
sorting columns sorts header values too Matt Excel Discussion (Misc queries) 6 July 11th 08 07:52 PM
help with sorting text in columns to match other columns rkat Excel Discussion (Misc queries) 1 August 11th 06 03:42 AM
Newbie question Different decimal place values for columns dan yemiola Excel Worksheet Functions 1 June 10th 06 08:18 PM
sorting question LewR Excel Discussion (Misc queries) 4 May 3rd 06 02:10 PM
Excel Compare values in columns & display missing values in a new cpetta Excel Discussion (Misc queries) 1 April 2nd 05 05:51 AM


All times are GMT +1. The time now is 01:31 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"