Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
When using the SUMIF function it allows a criteria from one colomn. How do
you right that to be between two dates. |
#2
![]() |
|||
|
|||
![]()
=SUMIF(DateRange,"="&X2,SumRange)-SUMIF(DateRange,""&Y2,SumRange)
where X2 <= Y2, calculates a total for dates that are between X2 and Y2 inclusive. Frannie21 wrote: When using the SUMIF function it allows a criteria from one colomn. How do you right that to be between two dates. |
#3
![]() |
|||
|
|||
![]()
one way:
=SUMPRODUCT(--(A1:A100DATE(2005,1,1)), --(A1:A100<TODAY()), B1:B100) See http://www.mcgimpsey.com/excel/doubleneg for an explanation of the "--" In article , Frannie21 wrote: When using the SUMIF function it allows a criteria from one colomn. How do you right that to be between two dates. |
#4
![]() |
|||
|
|||
![]()
Correction to link:
http://www.mcgimpsey.com/excel/formulae/doubleneg.html -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "JE McGimpsey" wrote in message ... one way: =SUMPRODUCT(--(A1:A100DATE(2005,1,1)), --(A1:A100<TODAY()), B1:B100) See http://www.mcgimpsey.com/excel/doubleneg for an explanation of the "--" In article , Frannie21 wrote: When using the SUMIF function it allows a criteria from one colomn. How do you right that to be between two dates. |
#5
![]() |
|||
|
|||
![]()
Thanks for the correction - the other will also work if you include the
..html (my browser adds it if necessary). In article , "Bernard Liengme" wrote: Correction to link: http://www.mcgimpsey.com/excel/formulae/doubleneg.html |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SUMIF Criteria | Excel Discussion (Misc queries) | |||
how do you do a sumif function on more than one worksheet? | Excel Worksheet Functions | |||
can I use a range of dates as a criteria when using sumif? | Excel Worksheet Functions | |||
using logical functions as criteria with the SUMIF function | Excel Worksheet Functions | |||
Can I use a cell reference in the criteria for the sumif function. | Excel Worksheet Functions |