Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default Sorting with formulas

I see pieces of formulas that solve what I'm looking for, but can't get it
all to work together. I have a list of scores that I'll continue to add to
that I need to sort with a formula from lowest to highest. I want to keep
duplicate entries but don't want to show blank entries. Here's an example:
Row ColA ColB (sorted)
1 42 36
2 42 38
3 36 40
4 42
5 40 42
6 42 42
7 48
8 48
9 38
10 fill in 10-25 later
.....
25

I'm a beginner with these more complex formulas, so I really appreciate you
saving me the frustration.
Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11,501
Default Sorting with formulas

Try this in B1 and drag down

=SMALL($A$1:$A$25,ROW(A1))

Mike

"GreenAce" wrote:

I see pieces of formulas that solve what I'm looking for, but can't get it
all to work together. I have a list of scores that I'll continue to add to
that I need to sort with a formula from lowest to highest. I want to keep
duplicate entries but don't want to show blank entries. Here's an example:
Row ColA ColB (sorted)
1 42 36
2 42 38
3 36 40
4 42
5 40 42
6 42 42
7 48
8 48
9 38
10 fill in 10-25 later
....
25

I'm a beginner with these more complex formulas, so I really appreciate you
saving me the frustration.
Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default Sorting with formulas

I thought I would need to use an array, but this is much simpler and it worked.

Thanks for your help!!

"Mike H" wrote:

Try this in B1 and drag down

=SMALL($A$1:$A$25,ROW(A1))

Mike

"GreenAce" wrote:

I see pieces of formulas that solve what I'm looking for, but can't get it
all to work together. I have a list of scores that I'll continue to add to
that I need to sort with a formula from lowest to highest. I want to keep
duplicate entries but don't want to show blank entries. Here's an example:
Row ColA ColB (sorted)
1 42 36
2 42 38
3 36 40
4 42
5 40 42
6 42 42
7 48
8 48
9 38
10 fill in 10-25 later
....
25

I'm a beginner with these more complex formulas, so I really appreciate you
saving me the frustration.
Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Sorting with formulas

One play which should deliver the goods ..
Source data in A1 down, with interspersed blanks & duplicates
In B1:
=IF(A1="","",A1+ROW()/10^10)
In C1:
=IF(ROW()COUNT(B:B),"",INDEX(A:A,MATCH(SMALL(B:B, ROW()),B:B,0)))
Select B1:C1, copy down to cover the max expected extent of data in col A,
eg down to C500? Minimize/hide away col B. Col C will return the required
auto-sorted results, w/o blank lines.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"GreenAce" wrote:
I see pieces of formulas that solve what I'm looking for, but can't get it
all to work together. I have a list of scores that I'll continue to add to
that I need to sort with a formula from lowest to highest. I want to keep
duplicate entries but don't want to show blank entries. Here's an example:
Row ColA ColB (sorted)
1 42 36
2 42 38
3 36 40
4 42
5 40 42
6 42 42
7 48
8 48
9 38
10 fill in 10-25 later
....
25

I'm a beginner with these more complex formulas, so I really appreciate you
saving me the frustration.
Thanks!

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 formulas with cells Jill33 Excel Worksheet Functions 4 December 27th 07 08:53 PM
Sorting By Values...NOT Formulas AntnyMI Excel Discussion (Misc queries) 5 July 25th 06 07:38 PM
Sorting of References for Formulas fak119 Excel Worksheet Functions 1 April 27th 06 05:35 PM
What formulas are best for sorting by date? Nicole D Excel Worksheet Functions 3 April 7th 05 06:05 PM
Sorting with formulas Crowraine Excel Discussion (Misc queries) 5 February 8th 05 04:43 PM


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