Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default multiple SUMIF help/advice

Hello
i need help with a function

i have 3 columns
A is a date like jan 2012, feb 2012, ... and so on
B is an expense 10,00$, 20,00$, .... and so on
C is a category like Fuel, House, DIY, Car Repair, ... and so on

i need a function that sums all the expenses on a certain category in a year



Thanks for your help!!!!!!!!!

  #2   Report Post  
Member
 
Posts: 93
Default

Hi Lapo Zanuso

SUMPRODUCT will be the way to go, as SUMIF/SUMIFS cannot accept arrays. If you need to sum by year, the SUMIF and YEAR functions cannot be used together. Assuming your data is set up as your post:

Col A = Date
Col B = Expense
Col C = Category

Axample:

=SUMPRODUCT(--(YEAR(A1:A100)=2012),--(C1:C100="DIY"),B1:B100)

Quote:
Originally Posted by Lapo Zanuso View Post
Hello
i need help with a function

i have 3 columns
A is a date like jan 2012, feb 2012, ... and so on
B is an expense 10,00$, 20,00$, .... and so on
C is a category like Fuel, House, DIY, Car Repair, ... and so on

i need a function that sums all the expenses on a certain category in a year



Thanks for your help!!!!!!!!!
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default multiple SUMIF help/advice

Hi Kevin, thanks it works perfecly, and i thought i could transfer it to
Google Spreadsheet but there it dosent work anymore... do you have any
suggestion?


Lapo

"Kevin@Radstock" wrote in message
...


Hi Lapo Zanuso

SUMPRODUCT will be the way to go, as SUMIF/SUMIFS cannot accept arrays.
If you need to sum by year, the SUMIF and YEAR functions cannot be used
together. Assuming your data is set up as your post:

Col A = Date
Col B = Expense
Col C = Category

Axample:

=SUMPRODUCT(--(YEAR(A1:A100)=2012),--(C1:C100="DIY"),B1:B100)

Lapo Zanuso;1608283 Wrote:
Hello
i need help with a function

i have 3 columns
A is a date like jan 2012, feb 2012, ... and so on
B is an expense 10,00$, 20,00$, .... and so on
C is a category like Fuel, House, DIY, Car Repair, ... and so on

i need a function that sums all the expenses on a certain category in a
year



Thanks for your help!!!!!!!!!





--
Kevin@Radstock

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default multiple SUMIF help/advice

Solved for Google Spreadsheets using:
=SUM(FILTER(B:B;YEAR(A:A)=2012;C:C="DIY"))

Thanks
Lapo


"Lapo Zanuso" wrote in message
...

Hi Kevin, thanks it works perfecly, and i thought i could transfer it to
Google Spreadsheet but there it dosent work anymore... do you have any
suggestion?


Lapo

"Kevin@Radstock" wrote in message
...


Hi Lapo Zanuso

SUMPRODUCT will be the way to go, as SUMIF/SUMIFS cannot accept arrays.
If you need to sum by year, the SUMIF and YEAR functions cannot be used
together. Assuming your data is set up as your post:

Col A = Date
Col B = Expense
Col C = Category

Axample:

=SUMPRODUCT(--(YEAR(A1:A100)=2012),--(C1:C100="DIY"),B1:B100)

Lapo Zanuso;1608283 Wrote:
Hello
i need help with a function

i have 3 columns
A is a date like jan 2012, feb 2012, ... and so on
B is an expense 10,00$, 20,00$, .... and so on
C is a category like Fuel, House, DIY, Car Repair, ... and so on

i need a function that sums all the expenses on a certain category in a
year



Thanks for your help!!!!!!!!!





--
Kevin@Radstock

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
Multiple copying of a Spreadsheet advice please Dermot Excel Discussion (Misc queries) 3 July 30th 06 01:37 PM
Advice on sumif - more than one criteria systematic Excel Worksheet Functions 1 July 28th 06 01:34 PM
Need multiple users advice Nick Cartwright Excel Discussion (Misc queries) 7 July 2nd 06 06:22 PM
Need advice : consolidating data from multiple CSV files in Excel - External data handling Matthieu Gaillet Excel Programming 0 December 1st 05 09:02 AM
Advice sought: Multiple column sorting davidm Excel Worksheet Functions 3 July 29th 05 02:06 PM


All times are GMT +1. The time now is 10:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"