#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default sumifs function

=SUMIF(L2:L145,"=02/08/09",D2:D145)+SUMIF(K2:K145,"=02/08/09",D2:D145)+SUMIF(J2:J145,"=02/08/09",D2:D145)+SUMIF(I2:I145,"=02/08/09",D2:D145)+SUMIF(H2:H145,"=02/08/09",D2:D145)+SUMIF(G2:G145,"=02/08/09",D2:D145)+SUMIF(F2:F145,"=02/08/09",D2:D145)+SUMIF(E2:E145,"=02/08/09",D2:D145)

Q1: The number is what I what to get from above function. I wonder if there
is another way to make above function work in a simpler form.

Q2: If I want to add all values in column D whick have a date in the cell
range from E2:P145 within a certain month, how can I correct date from
,"=02/08/09" in to a month range, for instance, in the August month?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default sumifs function

Sounds like you need to use COUNTIF for the first part ,,,,, e.g. in cell A1
type =COUNTIF(E2:L145,"02/08/09"), should return the number of times this
date shows up in the range ,,, I assume that is what your asking. For Q2 use
the TEXT function ,,,,, e.g. =TEXT(E2,"mmmm") ,, this should return the month
of any given date.

"bcmlau" wrote:

=SUMIF(L2:L145,"=02/08/09",D2:D145)+SUMIF(K2:K145,"=02/08/09",D2:D145)+SUMIF(J2:J145,"=02/08/09",D2:D145)+SUMIF(I2:I145,"=02/08/09",D2:D145)+SUMIF(H2:H145,"=02/08/09",D2:D145)+SUMIF(G2:G145,"=02/08/09",D2:D145)+SUMIF(F2:F145,"=02/08/09",D2:D145)+SUMIF(E2:E145,"=02/08/09",D2:D145)

Q1: The number is what I what to get from above function. I wonder if there
is another way to make above function work in a simpler form.

Q2: If I want to add all values in column D whick have a date in the cell
range from E2:P145 within a certain month, how can I correct date from
,"=02/08/09" in to a month range, for instance, in the August month?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default sumifs function

Try the below

=SUMPRODUCT((TEXT(E2:P145,"mm")="08")*D2:D145)

If this post helps click Yes
---------------
Jacob Skaria


"bcmlau" wrote:

=SUMIF(L2:L145,"=02/08/09",D2:D145)+SUMIF(K2:K145,"=02/08/09",D2:D145)+SUMIF(J2:J145,"=02/08/09",D2:D145)+SUMIF(I2:I145,"=02/08/09",D2:D145)+SUMIF(H2:H145,"=02/08/09",D2:D145)+SUMIF(G2:G145,"=02/08/09",D2:D145)+SUMIF(F2:F145,"=02/08/09",D2:D145)+SUMIF(E2:E145,"=02/08/09",D2:D145)

Q1: The number is what I what to get from above function. I wonder if there
is another way to make above function work in a simpler form.

Q2: If I want to add all values in column D whick have a date in the cell
range from E2:P145 within a certain month, how can I correct date from
,"=02/08/09" in to a month range, for instance, in the August month?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default sumifs function

Thank you very much! It works perfectly.

"Jacob Skaria" wrote:

Try the below

=SUMPRODUCT((TEXT(E2:P145,"mm")="08")*D2:D145)

If this post helps click Yes
---------------
Jacob Skaria


"bcmlau" wrote:

=SUMIF(L2:L145,"=02/08/09",D2:D145)+SUMIF(K2:K145,"=02/08/09",D2:D145)+SUMIF(J2:J145,"=02/08/09",D2:D145)+SUMIF(I2:I145,"=02/08/09",D2:D145)+SUMIF(H2:H145,"=02/08/09",D2:D145)+SUMIF(G2:G145,"=02/08/09",D2:D145)+SUMIF(F2:F145,"=02/08/09",D2:D145)+SUMIF(E2:E145,"=02/08/09",D2:D145)

Q1: The number is what I what to get from above function. I wonder if there
is another way to make above function work in a simpler form.

Q2: If I want to add all values in column D whick have a date in the cell
range from E2:P145 within a certain month, how can I correct date from
,"=02/08/09" in to a month range, for instance, in the August month?

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
Sumifs function Alan Excel Worksheet Functions 2 July 13th 09 07:16 PM
Sumifs & Not Like Cow Girl Excel Discussion (Misc queries) 6 March 13th 09 08:34 PM
SUMIFS function help teejay Excel Discussion (Misc queries) 6 November 29th 08 08:13 AM
Can SUMIFS use the OR function? Ted M H Excel Worksheet Functions 7 January 2nd 08 11:18 PM
[Excel 2007 Beta2] Function SUMIFS Franz Verga Excel Worksheet Functions 3 June 20th 06 11:53 PM


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