LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default Summing totals on separate worksheet based on 2 criteria

Thanks Bob,

I'll give that a go. I'm green enough with excel that learning both your
suggestion and more about pivot tables would be very helpful.

CW

"Bob Phillips" wrote:

On the second sheet, add a list of the utilities in say A2:An

In B2 (current month) add a formula of

=SUMPRODUCT(--(YEAR(Sheet1!$A$1:$A$1000)=YEAR(TODAY()),--(MONTH(Sheet1!$A$1:$A$1000)=MONTH(TODAY()),--(Sheet1!$B$1:$B$1000=$A2),Sheet1!$D$1:$D$1000)

In C2 (YTD) add a formula of

=SUMPRODUCT(--(YEAR(Sheet1!$A$1:$A$1000)=YEAR(TODAY()),--(MONTH(Sheet1!$A$1:$A$1000)<=MONTH(TODAY()),--(Sheet1!$B$1:$B$1000=$A2),Sheet1!$D$1:$D$1000)

and copy down.

These assume the transaction date in column A, transaction type in B, and
amount in D.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Cheese_whiz" wrote in message
...
Hi all,

Kind of new to excel and trying to make a simple expense tracking
workbook.

On one sheet I have a table where transactions are recorded. Transaction
types will be things like utilities, gas, food, groceries, etc. Each
transaction has a date, type, payee, and total.

I want to use a separate sheet to summarize data in the transactions
table.
I'd like to be able to see each type of transaction, totaled for current
month and year to date (two separate columns).

Question: how to I get the total for a category (say, utilities) for the
current month? If I can figure that, I'll be on my way. Can it be done
by
using formula's in the fx bar? VBA? I have significant access vba
experience, but virtually none in excel. I'm using excel 2007.

Thanks!
CW






 
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
Summing a range based on value criteria WiFiMike2006 Excel Discussion (Misc queries) 2 March 1st 07 01:08 AM
Summing data based on criteria Wendy Excel Discussion (Misc queries) 2 August 1st 06 04:07 PM
Summing based on criteria jspizman Excel Worksheet Functions 1 July 20th 06 04:48 PM
Summing quantities based on like criteria? aburnce Excel Discussion (Misc queries) 5 May 4th 06 12:11 AM
Summing based on 2 criteria cubsfan Excel Discussion (Misc queries) 2 April 20th 06 04:21 PM


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