From smallest to largest without repeating

vacho

New Member
Joined
Dec 13, 2011
Messages
18
Hello,

I have data consisting of 20 numbers from 1 to 63. Within 20 some numbers can appear twice or even more. I want excel to sort this numbers in smallest to largest format ignoring repeating numbers.

Thank you
 
Thank mirabeau, I will give it a try this evening. The reason why I don't want macros is, I have to activate it each time numbers change. Formulas change automatically
Yeah. That's quite Ok. Thanks for the feedback.
I wasn't quite sure what you wanted, and that macro was easy and fun to write anyway.
 
Upvote 0

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Thanks, I moved the formula in an empty cell and also added -1 after ROWS(V$24:V25) in If statement as shown below and now it works just fine. I am using 2010 version.

=IF(ROWS(V$24:V25)-1>U$24,"",SMALL((D$22:H$22,D$29:H$29,D$36:H$36,D$43:H$43),FREQUENCY((D$22:H$22,D$29:H$29,D$36:H$36,D$43:H$43),V24)+1))

there is no way I could have thought of this solution, so thanks again
You shouldn't have to do that (subtract 1).

Here's a sample file that demonstrates this.

vacho.xlsx

I added a 2nd version of the formula that doesn't need to refer to a count cell.
 
Upvote 0

Forum statistics

Threads
1,221,418
Messages
6,159,791
Members
451,589
Latest member
Harold14

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