Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
JEM JEM is offline
external usenet poster
 
Posts: 9
Default Sum at end of column question

I have a delimted text file that I need to import into excel sort it by
product number and total sales by product. I have to do this twice a month so
I made a marco that imports the file and then using filter it filters by
product number and copies the resuts to another sheet in the workbook.

The trouble Im having is that I don't know how to add the entire column for
total sales automatically. the total sales will always be in column C but the
row number will always be different.

I have tried highlighting the C column and clicking on the sum icon in the
toolbar but it doesn't give me a total at the bottm of the column.

Is there a way to have excel give me the sum at the bottom of the column if
the row number is different everytime?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default Sum at end of column question

Jem

The cells are formatted as text and look like numbers but are not.

Format all to General then copy an unused cell.

Select the data range and EditPaste Special(in place)AddOKEsc.

This usually coerces them to numbers.

Then I would place my SUM formula at the top of the column.

=SUM(C:C)


Gord Dibben MS Excel MVP

On Wed, 7 Feb 2007 11:04:01 -0800, JEM wrote:

I have a delimted text file that I need to import into excel sort it by
product number and total sales by product. I have to do this twice a month so
I made a marco that imports the file and then using filter it filters by
product number and copies the resuts to another sheet in the workbook.

The trouble Im having is that I don't know how to add the entire column for
total sales automatically. the total sales will always be in column C but the
row number will always be different.

I have tried highlighting the C column and clicking on the sum icon in the
toolbar but it doesn't give me a total at the bottm of the column.

Is there a way to have excel give me the sum at the bottom of the column if
the row number is different everytime?

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
macro unouwanme Excel Discussion (Misc queries) 9 August 31st 06 09:38 PM
Question about copying column of cells and...... WM Excel Worksheet Functions 4 August 9th 06 01:16 PM
Conditional Format as a MACRO Gunjani Excel Worksheet Functions 3 March 29th 06 05:22 PM
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM


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