#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 189
Default SUMIF

hi guys,
I just wanna know if two conditions can be considered in the sumif
formula?like below:
= sumif(E3:E100, "3-sep-08 & <16-sep-08" , G3:G100)
Actually I tried it but the answer was wrong ,I need to know if there is any
modifications in the above formula?
I want to sum something in a time period like between Sep. 3 to 16.
Thanx,
Peiman

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default SUMIF

=SUMPRODUCT(--(E3:E100DATE(2008,9,3)),--(E3:E100<DATE(2008,9,16)),G3:G100)
--
David Biddulph

"peyman" wrote in message
...
hi guys,
I just wanna know if two conditions can be considered in the sumif
formula?like below:
= sumif(E3:E100, "3-sep-08 & <16-sep-08" , G3:G100)
Actually I tried it but the answer was wrong ,I need to know if there is
any
modifications in the above formula?
I want to sum something in a time period like between Sep. 3 to 16.
Thanx,
Peiman



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default SUMIF

maybe this

=SUMPRODUCT((E3:E100DATE(2008,9,3))*(E3:E100<DATE (2008,9,16))*(G3:G100))

In practice I'd use cell rerences that point to the dates.

Mikr

"peyman" wrote:

hi guys,
I just wanna know if two conditions can be considered in the sumif
formula?like below:
= sumif(E3:E100, "3-sep-08 & <16-sep-08" , G3:G100)
Actually I tried it but the answer was wrong ,I need to know if there is any
modifications in the above formula?
I want to sum something in a time period like between Sep. 3 to 16.
Thanx,
Peiman

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 189
Default SUMIF

thanx a lot

"Mike H" wrote:

maybe this

=SUMPRODUCT((E3:E100DATE(2008,9,3))*(E3:E100<DATE (2008,9,16))*(G3:G100))

In practice I'd use cell rerences that point to the dates.

Mikr

"peyman" wrote:

hi guys,
I just wanna know if two conditions can be considered in the sumif
formula?like below:
= sumif(E3:E100, "3-sep-08 & <16-sep-08" , G3:G100)
Actually I tried it but the answer was wrong ,I need to know if there is any
modifications in the above formula?
I want to sum something in a time period like between Sep. 3 to 16.
Thanx,
Peiman

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 189
Default SUMIF

Thanx David

"David Biddulph" wrote:

=SUMPRODUCT(--(E3:E100DATE(2008,9,3)),--(E3:E100<DATE(2008,9,16)),G3:G100)
--
David Biddulph

"peyman" wrote in message
...
hi guys,
I just wanna know if two conditions can be considered in the sumif
formula?like below:
= sumif(E3:E100, "3-sep-08 & <16-sep-08" , G3:G100)
Actually I tried it but the answer was wrong ,I need to know if there is
any
modifications in the above formula?
I want to sum something in a time period like between Sep. 3 to 16.
Thanx,
Peiman




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
SumIf with an Or KarenH Excel Worksheet Functions 5 July 26th 06 04:36 PM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 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 12:46 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"