#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default sumproduct

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 563
Default sumproduct

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default sumproduct

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default sumproduct

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
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
Sumproduct with Condition OR Sumproduct with ADDRESS function - HE gholly Excel Discussion (Misc queries) 2 September 28th 09 05:07 PM
=SUMPRODUCT LHerring Excel Worksheet Functions 2 September 25th 08 01:50 PM
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
sumproduct? anand Excel Worksheet Functions 2 December 11th 05 09:12 AM


All times are GMT +1. The time now is 03:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"