PC Review


Reply
Thread Tools Rate Thread

Can't sort column of SUM values

 
 
robotman
Guest
Posts: n/a
 
      24th Aug 2007
I'm having a strange data sorting problem where my table won't sort a
column of values that are SUMs of other columns.

For example, the formula in Row 2 in the sorting column H is:
= SUM (A2, C2, F2, G2)

When I do the sort of Col H, most of the numbers are in the right
order, some of the sums are out of order. Not sure if it's just a
coincidence, but it seems only the 11 sums that seem to get mis-
sorted.

55
52
25
23
11
15
12
11
0
0
0
0
11
11
0
0
0

Anyone have any idea why this is happening?!

Thanks.

John

 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      24th Aug 2007
If you're just sorting that column, maybe you can convert it to values first.
Or copy the values to column I and sort both columns by column I.

Or you could select the whole range (A2:Hxx???) and sort by column G???

robotman wrote:
>
> I'm having a strange data sorting problem where my table won't sort a
> column of values that are SUMs of other columns.
>
> For example, the formula in Row 2 in the sorting column H is:
> = SUM (A2, C2, F2, G2)
>
> When I do the sort of Col H, most of the numbers are in the right
> order, some of the sums are out of order. Not sure if it's just a
> coincidence, but it seems only the 11 sums that seem to get mis-
> sorted.
>
> 55
> 52
> 25
> 23
> 11
> 15
> 12
> 11
> 0
> 0
> 0
> 0
> 11
> 11
> 0
> 0
> 0
>
> Anyone have any idea why this is happening?!
>
> Thanks.
>
> John


--

Dave Peterson
 
Reply With Quote
 
robotman
Guest
Posts: n/a
 
      24th Aug 2007
Since the table will be updated frequently, I don't want to do a copy
and paste special -> values every time I want to sort the table
(although that does work).

I've also tried summing the entire range, i.e. H2 is =SUM(A2:G2), and
then sorting Col H, but that doesn't solve the problem.

Any other ideas why the table won't sort correctly when sorting by
this column of SUMs?

Thanks...

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      25th Aug 2007
When I selected A2:G(whatever), then sorted by column G, it worked ok for me.



robotman wrote:
>
> Since the table will be updated frequently, I don't want to do a copy
> and paste special -> values every time I want to sort the table
> (although that does work).
>
> I've also tried summing the entire range, i.e. H2 is =SUM(A2:G2), and
> then sorting Col H, but that doesn't solve the problem.
>
> Any other ideas why the table won't sort correctly when sorting by
> this column of SUMs?
>
> Thanks...


--

Dave Peterson
 
Reply With Quote
 
Ragdyer
Guest
Posts: n/a
 
      25th Aug 2007
How can you sort a column of *relative* formulas?

The cell references will change with the new location of the formulas!

You'll need *absolute* referencing (=SUM($A$2,$C$2,$F$2,$G$2),
OR
Sort the *entire* datalist.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"robotman" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Since the table will be updated frequently, I don't want to do a copy
> and paste special -> values every time I want to sort the table
> (although that does work).
>
> I've also tried summing the entire range, i.e. H2 is =SUM(A2:G2), and
> then sorting Col H, but that doesn't solve the problem.
>
> Any other ideas why the table won't sort correctly when sorting by
> this column of SUMs?
>
> Thanks...
>


 
Reply With Quote
 
scal
Guest
Posts: n/a
 
      26th Aug 2007
Do you have any blank rows in the data?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Top Values in a column - sort of! Lee Grant Microsoft Excel Discussion 10 25th Sep 2007 02:58 PM
how can i identify three highest values in a column (not sort) =?Utf-8?B?TWlzdHlzd2VlcA==?= Microsoft Excel Misc 3 29th Jul 2006 12:58 PM
Sort column with multiple values =?Utf-8?B?Z2lsZGVkbGlseQ==?= Microsoft Excel New Users 3 26th May 2006 09:48 PM
Sort pair values using numeric column Dot net work Microsoft VB .NET 2 27th Aug 2004 05:24 PM
sort column by the strike-through values William Poh Ben Microsoft Excel Misc 1 19th Nov 2003 04:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:22 PM.