Sorting range of data using fomular

Stevekent

Board Regular
Joined
Jul 24, 2013
Messages
109
Office Version
  1. 365
Platform
  1. Windows
I have six columns from A1 to F1 of values that with 1st column in number from 1 to 5 but not in ascending order. The second until six columns contain word or value. As the data are copied and paste from another source, instead of using Data, and click on the A to Z, I want to have sorting formula in say H1 to M1 so that when I paste, the data is ascending order. Please see below of what I mean. Thanks a lot

4
LGB12
TH
5.5
1
2
1
LGB12
TV
6.6
1
3
1
LGB12
TV
6.6
1
3
2
LGB12
TH1
4.35
2
1
2
LGB12
TH1
4.35
2
1
3
LGB12
TH
4.7
3
1
5
LGB12
D
7.3
2
1
4
LGB12
TH
5.5
1
2
3
LGB12
TH
4.7
3
1
5
LGB12
D
7.3
2
1

<tbody>
</tbody>


<tbody>
</tbody>
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Put in H1 and copied down:
=SMALL($A$1:$A$5,ROWS($A$1:A1))

Put in I1 and copied down and cross:
=INDEX(B$1:B$5,MATCH($H1,$A$1:$A$5,0))
 
Upvote 0

Forum statistics

Threads
1,214,552
Messages
6,120,172
Members
448,948
Latest member
spamiki

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
Back
Top