MrExcel Message Board


Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old Mar 30th, 2004, 03:26 AM   #1
prthibeaux
 
Join Date: Mar 2004
Posts: 6
Default Sorting Numbers

I have a list of 300 numbers starting in cell B:12, B:22, B:32.....all the way to B:3002. How can I sort these numbers so they all end up together at the top of the column. Thanks!
prthibeaux is offline   Reply With Quote
Old Mar 30th, 2004, 03:30 AM   #2
Brian from Maui
 
Brian from Maui's Avatar
 
Join Date: Feb 2002
Posts: 7,605
Default Re: Sorting Numbers

Quote:
Originally Posted by prthibeaux
I have a list of 300 numbers starting in cell B:12, B:22, B:32.....all the way to B:3002. How can I sort these numbers so they all end up together at the top of the column. Thanks!
Highlight the whole range and Sort.
Brian from Maui is offline   Reply With Quote
Old Mar 30th, 2004, 05:39 AM   #3
Zack Barresse
MrExcel MVP
 
Zack Barresse's Avatar
 
Join Date: Dec 2003
Location: Oregon, USA
Posts: 9,624
Default

hiya prthibeaux (wow, thats a mouthful! you'll have to tell me how to pronounce that one!),

aside from Brian's solution (which is the best way to go), is there any data in between the cells you specified? or any other extenuating circumstances in which should be noted here for an effective solution? if not, your in good shape! just thought i'd ask.

have a great day!
__________________
Regards,
Zack Barresse

All Excel Functions
(If you would like comments in any code, please say so.)
Zack Barresse is offline   Reply With Quote
Old Mar 30th, 2004, 05:59 AM   #4
PaddyD
MrExcel MVP
 
Join Date: May 2002
Posts: 12,561
Default Re: Sorting Numbers

or, with a formula:

******** ******************** ************************************************************************>
Microsoft Excel - Book1___Running: xl2000 : OS = Windows Windows 2000
File Edit View Insert Options Tools Data Window Help About
=

A
B
C
D
1
NumAll**
2
*1**
3
*2**
4
*3**
5
*4**
6
****
7
****
8
****
9
****
10
****
11
****
12
1***
13
****
14
****
15
****
16
****
17
****
18
****
19
****
20
****
21
****
22
2***
Sheet6*

[HtmlMaker light Ver1.10] To see the formula in the cells just click on the cells hyperlink or click the Name box
PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.


formula is:

=INDEX(A:A,((ROW()-1)*10)+2)
PaddyD is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT +1. The time now is 02:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
All contents Copyright 1998-2009 by MrExcel Consulting.