Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Thanks for your help. The using reporting date rather than today's date
actually wasn't a problem with the formula you all provided. Thanks again. "Ken Wright" wrote: Cheers Harlan - hadn't even considered using DAY() to try and get there. However, now you've gotten me there, in theory if it was a real MTD figure then I guess it should be covered by just the first part of that =SUMIF(A:A,""&(TODAY()-DAY(TODAY())),B:B) Now if he'd only not thrown in that bit about "or the date I'm reporting on" <g -- Regards Ken....................... Microsoft MVP - Excel Sys Spec - Win XP Pro / XL 97/00/02/03 ---------------------------------------------------------------------------- It's easier to beg forgiveness than ask permission :-) ---------------------------------------------------------------------------- "Harlan Grove" wrote in message oups.com... Ken Wright wrote... =SUMIF(A:A,"<="&TODAY(),B:B)-SUMIF(A:A,"<"&DATE(YEAR(TODAY()), MONTH(TODAY()),1),B:B) It's a lot easier to calculate the firzt day of the current month as TODAY()-DAY(TODAY())+1 Using this, a shorter alternative, =SUMIF(A:A,""&(TODAY()-DAY(TODAY())),B:B)-SUMIF(A:A,""&TODAY(),B:B) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Another Sumproduct & #N/A problem | Excel Worksheet Functions | |||
SUMPRODUCT | Excel Worksheet Functions | |||
Sumproduct ... Empty Cells vs Spaces? | Excel Discussion (Misc queries) | |||
Sumproduct function not working | Excel Worksheet Functions | |||
adding two sumproduct formulas together | Excel Worksheet Functions |