#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 67
Default Sort by Total

Greetings all,

I have a large spreadsheet that was exported out of my accounting program.
It lists all customers and all their sales for the last 24 months. The total
sales are listed below their individual sales, in the same column. Is there
any way that I could sort this list by the total sales amount? The total
sales are in bold, but no other customer data is on the same line. I need to
come up with all customers that purchased over $3k in this time period. The
number of sales vary by customer. Here is what the report looks like:

Customer name Inv. # sale #1
Inv. # sale #2
________
Total Sales

Customer name Inv. # sale #1 €¦..

I am using Excel 2007. Any help would be greatly appreciated.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default Sort by Total

Hi,

I'm not clear on what you want the output to look like - where will the
detail rows for each customer go in your final output?

I see two approaches.
1. Delete all the total lines and put the data into a pivot table.
2. Fill in the missing customer names and/or #'s and then apply the auto
filter to display only the total rows, and sort or copy and sort.

Pick one and I will give you more details, if you need. But I will need to
know more about how your data looks - show us some more lines.

--
Thanks,
Shane Devenshire


"MarkT" wrote:

Greetings all,

I have a large spreadsheet that was exported out of my accounting program.
It lists all customers and all their sales for the last 24 months. The total
sales are listed below their individual sales, in the same column. Is there
any way that I could sort this list by the total sales amount? The total
sales are in bold, but no other customer data is on the same line. I need to
come up with all customers that purchased over $3k in this time period. The
number of sales vary by customer. Here is what the report looks like:

Customer name Inv. # sale #1
Inv. # sale #2
________
Total Sales

Customer name Inv. # sale #1 €¦..

I am using Excel 2007. Any help would be greatly appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 67
Default Sort by Total

Thanks Shane,

I was not able to do the pivot table since the totals were in the same
column as the actual customer sales amounts.

I ended up just manually deleting; took longer than I wanted but it got the
job done.

Thanks for your help; I do appreciate it.

Mark


"ShaneDevenshire" wrote:

Hi,

I'm not clear on what you want the output to look like - where will the
detail rows for each customer go in your final output?

I see two approaches.
1. Delete all the total lines and put the data into a pivot table.
2. Fill in the missing customer names and/or #'s and then apply the auto
filter to display only the total rows, and sort or copy and sort.

Pick one and I will give you more details, if you need. But I will need to
know more about how your data looks - show us some more lines.

--
Thanks,
Shane Devenshire


"MarkT" wrote:

Greetings all,

I have a large spreadsheet that was exported out of my accounting program.
It lists all customers and all their sales for the last 24 months. The total
sales are listed below their individual sales, in the same column. Is there
any way that I could sort this list by the total sales amount? The total
sales are in bold, but no other customer data is on the same line. I need to
come up with all customers that purchased over $3k in this time period. The
number of sales vary by customer. Here is what the report looks like:

Customer name Inv. # sale #1
Inv. # sale #2
________
Total Sales

Customer name Inv. # sale #1 €¦..

I am using Excel 2007. Any help would be greatly appreciated.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Sort by Total

Hi Mark,
Do this , fill out the customer name in an adjacent column, then filter the
column where the total sales are, unselect the totals so you will see only
the rows with other data. select and delete these rows. Now you have only
customer and total sales

"MarkT" wrote:

Greetings all,

I have a large spreadsheet that was exported out of my accounting program.
It lists all customers and all their sales for the last 24 months. The total
sales are listed below their individual sales, in the same column. Is there
any way that I could sort this list by the total sales amount? The total
sales are in bold, but no other customer data is on the same line. I need to
come up with all customers that purchased over $3k in this time period. The
number of sales vary by customer. Here is what the report looks like:

Customer name Inv. # sale #1
Inv. # sale #2
________
Total Sales

Customer name Inv. # sale #1 €¦..

I am using Excel 2007. Any help would be greatly appreciated.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 67
Default Sort by Total

Hi Eduardo, I understand what you are saying, however there are over three
thousand customers, so I wanted to find a faster way that was less manually
intensive.

Thanks!

Mark

"Eduardo" wrote:

Hi Mark,
Do this , fill out the customer name in an adjacent column, then filter the
column where the total sales are, unselect the totals so you will see only
the rows with other data. select and delete these rows. Now you have only
customer and total sales

"MarkT" wrote:

Greetings all,

I have a large spreadsheet that was exported out of my accounting program.
It lists all customers and all their sales for the last 24 months. The total
sales are listed below their individual sales, in the same column. Is there
any way that I could sort this list by the total sales amount? The total
sales are in bold, but no other customer data is on the same line. I need to
come up with all customers that purchased over $3k in this time period. The
number of sales vary by customer. Here is what the report looks like:

Customer name Inv. # sale #1
Inv. # sale #2
________
Total Sales

Customer name Inv. # sale #1 €¦..

I am using Excel 2007. Any help would be greatly appreciated.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Sort by Total

Hi Mark,
you can do it with a formula, let's say you have in row 2 column 1 the
customer name, then in row 15 column C you have your totals, in column D
enter this formula
=+IF(A2="",C1,A2)

When you copy the formula down it will fill out with the customer name. What
you can do is to have the formula in row 1 which you can hide and then make a
macro to automatically copy the formula down

"MarkT" wrote:

Hi Eduardo, I understand what you are saying, however there are over three
thousand customers, so I wanted to find a faster way that was less manually
intensive.

Thanks!

Mark

"Eduardo" wrote:

Hi Mark,
Do this , fill out the customer name in an adjacent column, then filter the
column where the total sales are, unselect the totals so you will see only
the rows with other data. select and delete these rows. Now you have only
customer and total sales

"MarkT" wrote:

Greetings all,

I have a large spreadsheet that was exported out of my accounting program.
It lists all customers and all their sales for the last 24 months. The total
sales are listed below their individual sales, in the same column. Is there
any way that I could sort this list by the total sales amount? The total
sales are in bold, but no other customer data is on the same line. I need to
come up with all customers that purchased over $3k in this time period. The
number of sales vary by customer. Here is what the report looks like:

Customer name Inv. # sale #1
Inv. # sale #2
________
Total Sales

Customer name Inv. # sale #1 €¦..

I am using Excel 2007. Any help would be greatly appreciated.

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 67
Default Sort by Total

I've never seen the "+" before the IF statement, what does that do?

"Eduardo" wrote:

Hi Mark,
you can do it with a formula, let's say you have in row 2 column 1 the
customer name, then in row 15 column C you have your totals, in column D
enter this formula
=+IF(A2="",C1,A2)

When you copy the formula down it will fill out with the customer name. What
you can do is to have the formula in row 1 which you can hide and then make a
macro to automatically copy the formula down

"MarkT" wrote:

Hi Eduardo, I understand what you are saying, however there are over three
thousand customers, so I wanted to find a faster way that was less manually
intensive.

Thanks!

Mark

"Eduardo" wrote:

Hi Mark,
Do this , fill out the customer name in an adjacent column, then filter the
column where the total sales are, unselect the totals so you will see only
the rows with other data. select and delete these rows. Now you have only
customer and total sales

"MarkT" wrote:

Greetings all,

I have a large spreadsheet that was exported out of my accounting program.
It lists all customers and all their sales for the last 24 months. The total
sales are listed below their individual sales, in the same column. Is there
any way that I could sort this list by the total sales amount? The total
sales are in bold, but no other customer data is on the same line. I need to
come up with all customers that purchased over $3k in this time period. The
number of sales vary by customer. Here is what the report looks like:

Customer name Inv. # sale #1
Inv. # sale #2
________
Total Sales

Customer name Inv. # sale #1 €¦..

I am using Excel 2007. Any help would be greatly appreciated.

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Sort by Total

Hi Mark,
is the same that =, it doesn't do anything is just to start the formula

"MarkT" wrote:

I've never seen the "+" before the IF statement, what does that do?

"Eduardo" wrote:

Hi Mark,
you can do it with a formula, let's say you have in row 2 column 1 the
customer name, then in row 15 column C you have your totals, in column D
enter this formula
=+IF(A2="",C1,A2)

When you copy the formula down it will fill out with the customer name. What
you can do is to have the formula in row 1 which you can hide and then make a
macro to automatically copy the formula down

"MarkT" wrote:

Hi Eduardo, I understand what you are saying, however there are over three
thousand customers, so I wanted to find a faster way that was less manually
intensive.

Thanks!

Mark

"Eduardo" wrote:

Hi Mark,
Do this , fill out the customer name in an adjacent column, then filter the
column where the total sales are, unselect the totals so you will see only
the rows with other data. select and delete these rows. Now you have only
customer and total sales

"MarkT" wrote:

Greetings all,

I have a large spreadsheet that was exported out of my accounting program.
It lists all customers and all their sales for the last 24 months. The total
sales are listed below their individual sales, in the same column. Is there
any way that I could sort this list by the total sales amount? The total
sales are in bold, but no other customer data is on the same line. I need to
come up with all customers that purchased over $3k in this time period. The
number of sales vary by customer. Here is what the report looks like:

Customer name Inv. # sale #1
Inv. # sale #2
________
Total Sales

Customer name Inv. # sale #1 €¦..

I am using Excel 2007. Any help would be greatly appreciated.

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
Total then Sort Amanda Excel Discussion (Misc queries) 2 December 4th 07 03:20 PM
Calculate total $ based on rows displayed by sort DavidP Excel Worksheet Functions 1 December 11th 06 06:48 PM
sort by month with a monthly total sdg8481 Excel Discussion (Misc queries) 3 November 6th 05 07:25 PM
Sort And Total travelersway Excel Discussion (Misc queries) 2 July 23rd 05 05:25 PM
Sort creating total errors excel idiot Excel Discussion (Misc queries) 7 January 16th 05 03:21 PM


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