Data Sorting Problem--Should be Easy

rdsmit1

Board Regular
Joined
Apr 19, 2010
Messages
194
I have two columns a & b shown below:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
4 .7<o:p></o:p>
2 1.2<o:p></o:p>
3 50<o:p></o:p>
1 12.4<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
I want to keep the above data intact, but in columns c & d regerate the information from columns a & b only in the following logical order:<o:p></o:p>
1 12.4<o:p></o:p>
2 1.2<o:p></o:p>
3 50<o:p></o:p>
4 .7<o:p></o:p>
<o:p></o:p>
I have experimented with Vlookup, but you have to have the first column in ascending/descending order for some stupid reason, so that won't work. I also am aware of the data>sort data option... but I want this to be automatically done without having to go thru those steps.<o:p></o:p>

Thanks a ton!!

-Ryan
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Try this. Copy formula in C1 and D1 down.
C1 formula:
Code:
=SMALL($A$1:$A$4,ROW(A1))
Excel Workbook
ABCD
140.7112.4
221.221.2
3350350
4112.440.7
Sheet11
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

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