Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Gre Gre is offline
external usenet poster
 
Posts: 8
Default Calculate totals by fields

I have a large spreadsheet of expenses. One of the columns contains items
such as telephone, travel, subsistence etc. I wish to be able to calculate
the totals for each type of expense.

The rows need to be presented in date order, but I do not need automatic
updating if that makes it easier.

Any help appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Calculate totals by fields

Sounds like the Data Subtotals feature should do as you want. Just sort
the data by Expense, then by date before using it......

Vaya con Dios,
Chuck, CABGx3



"Gre" wrote:

I have a large spreadsheet of expenses. One of the columns contains items
such as telephone, travel, subsistence etc. I wish to be able to calculate
the totals for each type of expense.

The rows need to be presented in date order, but I do not need automatic
updating if that makes it easier.

Any help appreciated!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Calculate totals by fields

To sum by type

=SUMIF(A:A,"Telephone",B:B)

what do you mean by presented in date order.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Gre" wrote in message
...
I have a large spreadsheet of expenses. One of the columns contains items
such as telephone, travel, subsistence etc. I wish to be able to calculate
the totals for each type of expense.

The rows need to be presented in date order, but I do not need automatic
updating if that makes it easier.

Any help appreciated!



  #5   Report Post  
Posted to microsoft.public.excel.misc
Gre Gre is offline
external usenet poster
 
Posts: 8
Default Calculate totals by fields

Thanks for that - has taught me something new!

However... it doesn't quite do what I want - I need all the records sorted
by date, so I would need the totals in something like a summary table on
another sheet/somewhere on the same sheet.

There are only 15 or so different types of expenses, so to edit a formula
directly would not be too time consuming if that is the only way to do it.

(Of course i can sort by expense, compute the sums normally, and re-sort by
date, but i would like to know if there is a more advanced way to do it :) )

"CLR" wrote:

Sounds like the Data Subtotals feature should do as you want. Just sort
the data by Expense, then by date before using it......

Vaya con Dios,
Chuck, CABGx3



"Gre" wrote:

I have a large spreadsheet of expenses. One of the columns contains items
such as telephone, travel, subsistence etc. I wish to be able to calculate
the totals for each type of expense.

The rows need to be presented in date order, but I do not need automatic
updating if that makes it easier.

Any help appreciated!



  #6   Report Post  
Posted to microsoft.public.excel.misc
Gre Gre is offline
external usenet poster
 
Posts: 8
Default Calculate totals by fields

Thanks very much both of your; SUMIF is what i needed.

(Date order; i want the original data presented so they are sorted by date
of expense - this is also allowed with SUMIF :) )

"Bob Phillips" wrote:

To sum by type

=SUMIF(A:A,"Telephone",B:B)

what do you mean by presented in date order.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Gre" wrote in message
...
I have a large spreadsheet of expenses. One of the columns contains items
such as telephone, travel, subsistence etc. I wish to be able to calculate
the totals for each type of expense.

The rows need to be presented in date order, but I do not need automatic
updating if that makes it easier.

Any help appreciated!




  #7   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Calculate totals by fields

The Data Subtotals can give you each Expense separated and totaled and
sorted by it's own dates, but if you want only one big date sort, I guess
your best bet then would be to sort everything by date, and then build a
separate table using formulas based on Bob's
suggestion.......=SUMIF(A:A,"Telephone",B:B)
......replacing "Telephone" with each expense in turn.



"Gre" wrote:

Thanks for that - has taught me something new!

However... it doesn't quite do what I want - I need all the records sorted
by date, so I would need the totals in something like a summary table on
another sheet/somewhere on the same sheet.

There are only 15 or so different types of expenses, so to edit a formula
directly would not be too time consuming if that is the only way to do it.

(Of course i can sort by expense, compute the sums normally, and re-sort by
date, but i would like to know if there is a more advanced way to do it :) )

"CLR" wrote:

Sounds like the Data Subtotals feature should do as you want. Just sort
the data by Expense, then by date before using it......

Vaya con Dios,
Chuck, CABGx3



"Gre" wrote:

I have a large spreadsheet of expenses. One of the columns contains items
such as telephone, travel, subsistence etc. I wish to be able to calculate
the totals for each type of expense.

The rows need to be presented in date order, but I do not need automatic
updating if that makes it easier.

Any help 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
Pivot Table Calculating totals differently esparzaone Excel Discussion (Misc queries) 1 February 22nd 06 01:01 AM
Calculated fields in the Sub Grand Totals david Excel Discussion (Misc queries) 0 June 29th 05 11:11 PM
calculate totals of 5 sheets on to 6th sheet. salvo Excel Worksheet Functions 1 March 25th 05 06:58 AM
Calculations using totals generated in Pivot Tables fnov Excel Discussion (Misc queries) 0 March 3rd 05 07:17 AM
How do I show summary totals from a pivot table on a bar chart Colleen T Charts and Charting in Excel 5 January 22nd 05 01:41 AM


All times are GMT +1. The time now is 11:16 PM.

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"