ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Sum at end of column question (https://www.excelbanter.com/new-users-excel/129694-sum-end-column-question.html)

JEM

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

Gord Dibben

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




All times are GMT +1. The time now is 11:14 AM.

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