ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sort creating total errors (https://www.excelbanter.com/excel-discussion-misc-queries/3902-sort-creating-total-errors.html)

excel idiot

Sort creating total errors
 
I have a spreadsheet with about 20 columns and 8,000 rows. I have numerical
data in most of the columns corresponding to people. Like this:

John 9 6
Debbie 9 5
James 8 5

Total 26 16

If I highlight all columns and do a sort by the person's name, the total
number at the bottom changes even if the data has not changed. Do you know
why this is happening?

Thanks in advance for any help!

Dave Peterson

What are the formulas you used in those total cells?

excel idiot wrote:

I have a spreadsheet with about 20 columns and 8,000 rows. I have numerical
data in most of the columns corresponding to people. Like this:

John 9 6
Debbie 9 5
James 8 5

Total 26 16

If I highlight all columns and do a sort by the person's name, the total
number at the bottom changes even if the data has not changed. Do you know
why this is happening?

Thanks in advance for any help!


--

Dave Peterson

excel idiot

I just did a sum formula =sum(a1:a5)

"Dave Peterson" wrote:

What are the formulas you used in those total cells?

excel idiot wrote:

I have a spreadsheet with about 20 columns and 8,000 rows. I have numerical
data in most of the columns corresponding to people. Like this:

John 9 6
Debbie 9 5
James 8 5

Total 26 16

If I highlight all columns and do a sort by the person's name, the total
number at the bottom changes even if the data has not changed. Do you know
why this is happening?

Thanks in advance for any help!


--

Dave Peterson


Dave Peterson

Well, if you're adding up what's in A1:A5 and sorting what's in rows 1:8000,
that could be the problem.

If you meant that you used a formula _like_ =sum(a1:a5)

but more like: =sum(a1:a8000)

then I don't have a guess.

excel idiot wrote:

I just did a sum formula =sum(a1:a5)

"Dave Peterson" wrote:

What are the formulas you used in those total cells?

excel idiot wrote:

I have a spreadsheet with about 20 columns and 8,000 rows. I have numerical
data in most of the columns corresponding to people. Like this:

John 9 6
Debbie 9 5
James 8 5

Total 26 16

If I highlight all columns and do a sort by the person's name, the total
number at the bottom changes even if the data has not changed. Do you know
why this is happening?

Thanks in advance for any help!


--

Dave Peterson


--

Dave Peterson

IanRoy

Is the row at the bottom still "Totals" or is it now the numbers for a
person, like for example "Winston?"
-IanRoy

"excel idiot" wrote:

I just did a sum formula =sum(a1:a5)

"Dave Peterson" wrote:

What are the formulas you used in those total cells?

excel idiot wrote:

I have a spreadsheet with about 20 columns and 8,000 rows. I have numerical
data in most of the columns corresponding to people. Like this:

John 9 6
Debbie 9 5
James 8 5

Total 26 16

If I highlight all columns and do a sort by the person's name, the total
number at the bottom changes even if the data has not changed. Do you know
why this is happening?

Thanks in advance for any help!


--

Dave Peterson


excel idiot

It is still just for totals.

"IanRoy" wrote:

Is the row at the bottom still "Totals" or is it now the numbers for a
person, like for example "Winston?"
-IanRoy

"excel idiot" wrote:

I just did a sum formula =sum(a1:a5)

"Dave Peterson" wrote:

What are the formulas you used in those total cells?

excel idiot wrote:

I have a spreadsheet with about 20 columns and 8,000 rows. I have numerical
data in most of the columns corresponding to people. Like this:

John 9 6
Debbie 9 5
James 8 5

Total 26 16

If I highlight all columns and do a sort by the person's name, the total
number at the bottom changes even if the data has not changed. Do you know
why this is happening?

Thanks in advance for any help!

--

Dave Peterson


Frans van Zelm

Hi E.I.

Try this: select any name and sort up or down

In you approach, the achor point for the SUM-range are moved with the name.
A basic rule: never select before a sort. If you have to, there is something
wrong with your list.

Frans

"excel idiot" wrote in message
...
I have a spreadsheet with about 20 columns and 8,000 rows. I have

numerical
data in most of the columns corresponding to people. Like this:

John 9 6
Debbie 9 5
James 8 5

Total 26 16

If I highlight all columns and do a sort by the person's name, the total
number at the bottom changes even if the data has not changed. Do you

know
why this is happening?

Thanks in advance for any help!




fm

Make sure you are not selecting the total row. Make new
worksheet so you do not destroy you existing data. Put
Numbers in A1-A5, put a total in A6. Select A1-A5 and
sort. Did A6 change?
-----Original Message-----
I have a spreadsheet with about 20 columns and 8,000

rows. I have numerical
data in most of the columns corresponding to people.

Like this:

John 9 6
Debbie 9 5
James 8 5

Total 26 16

If I highlight all columns and do a sort by the person's

name, the total
number at the bottom changes even if the data has not

changed. Do you know
why this is happening?

Thanks in advance for any help!
.



All times are GMT +1. The time now is 01:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com