Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
using this formula
=SUMPRODUCT(H18:H103,--(TEXT(B18:B103,"yyyymm")=TEXT(DATE(YEAR(TODAY()),M ONTH(TODAY())+0,1),"yyyymm"))) when column E is mark with "X", not to add the values in column H. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Please tell us what you are trying to do.
How does column E enter into this? best wsihes -- Bernard Liengme Microsoft Excel MVP http://people.stfx.ca/bliengme "tleehh" wrote in message ... using this formula =SUMPRODUCT(H18:H103,--(TEXT(B18:B103,"yyyymm")=TEXT(DATE(YEAR(TODAY()),M ONTH(TODAY())+0,1),"yyyymm"))) when column E is mark with "X", not to add the values in column H. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
TEXT(DATE(YEAR(TODAY()),MONTH(TODAY())+0,1),"yyyy mm")
That can be reduced to: TEXT(NOW(),"yyyymm") Try this... =SUMPRODUCT(H18:H103,--(TEXT(B18:B103,"yyyymm")=TEXT(NOW(),"yyyymm")),--(E18:E103<"X")) -- Biff Microsoft Excel MVP "tleehh" wrote in message ... using this formula =SUMPRODUCT(H18:H103,--(TEXT(B18:B103,"yyyymm")=TEXT(DATE(YEAR(TODAY()),M ONTH(TODAY())+0,1),"yyyymm"))) when column E is mark with "X", not to add the values in column H. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
It isn't clear what question you are asking, but it also isn't clear why you
have the +0 in MONTH(TODAY())+0. Isn't that the same as MONTH(TODAY()) ? And isn't it therefore the same as saying =SUMPRODUCT(H18:H103,--(TEXT(B18:B103,"yyyymm")=TEXT(TODAY(),"yyyymm"))) If you are asking how to exclude rows where column E says "X", try =SUMPRODUCT(H18:H103,--(TEXT(B18:B103,"yyyymm")=TEXT(TODAY(),"yyyymm")),--(E18:E103<"X"))--David Biddulph"tleehh" wrote in ... using this formula=SUMPRODUCT(H18:H103,--(TEXT(B18:B103,"yyyymm")=TEXT(DATE(YEAR(TODAY()),M ONTH(TODAY())+0,1),"yyyymm"))) when column E is mark with "X", not to add the values in column H. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sumproduct with Condition OR Sumproduct with ADDRESS function - HE | Excel Discussion (Misc queries) | |||
=SUMPRODUCT | Excel Worksheet Functions | |||
Conditional SUMPRODUCT or SUMPRODUCT with Filters | Excel Worksheet Functions | |||
sumproduct? sumif(sumproduct)? | Excel Worksheet Functions | |||
sumproduct? | Excel Worksheet Functions |