#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default sumif

Ok, I'm frustrated. I need to sum values in column "A" if values in column
"B" are during the month of "January" formated as a DATE (1/1/2008)

I have tried variations of SUMIF
((B2:B4="=date(2008,1,1)")*(b2:b4)="<=date(2008,1 ,31))*a:2:a4)

And can't get it to work. What I actually have is a column of expenses and
another column with their associated dates. I want to know how much was
spent each month without putting in a summing line at the end of each month.
Does that make sense? Thanks for any help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default sumif

=SUMPRODUCT((B2:B4=DATE(2008,1,1))*(B2:B4<=DATE(2 008,1,31))*(A2:A4))
--
David Biddulph

"rodeo" wrote in message
...
Ok, I'm frustrated. I need to sum values in column "A" if values in
column
"B" are during the month of "January" formated as a DATE (1/1/2008)

I have tried variations of SUMIF
((B2:B4="=date(2008,1,1)")*(b2:b4)="<=date(2008,1 ,31))*a:2:a4)

And can't get it to work. What I actually have is a column of expenses
and
another column with their associated dates. I want to know how much was
spent each month without putting in a summing line at the end of each
month.
Does that make sense? Thanks for any help.



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
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" Harry Seymour Excel Worksheet Functions 9 June 12th 07 10:47 PM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
SUMIF Mehta Mehta Excel Worksheet Functions 3 May 26th 05 06:07 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 09:12 PM.

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"