Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 155
Default Add criteria to sumproduct Greater than or equal to

Hi everyone,

Im using the following

=SUMPRODUCT(--(Data!$C$3:$C$10000=$A8),--((Data!$J$3:$J$10000=I$6)+(Data!$J$3:$J$10000=<I$ 7)),--((Data!$AC$3:$AC$10000="c")+(Data!$AC$3:$AC$10000= "m")))

Where I6 and I7 are two dates including and between which the data should be
included.

Im getting too many returned, so what am I doing wrong?

Any suggestions would be brilliant

Cheers

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Add criteria to sumproduct Greater than or equal to

Think this part:
..,--((Data!$J$3:$J$10000=I$6)+(Data!$J$3:$J$10000=<I$ 7)),..

should be multiplicative (AND)

Try (untested):
=SUMPRODUCT((Data!$C$3:$C$10000=$A8)*(Data!$J$3:$J $10000=I$6)*(Data!$J$3:$J$10000<=I$7)*((Data!$AC$ 3:$AC$10000="c")+(Data!$AC$3:$AC$10000="m")))
voila? hit the YES below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Diddy" wrote:
Im using the following

=SUMPRODUCT(--(Data!$C$3:$C$10000=$A8),--((Data!$J$3:$J$10000=I$6)+(Data!$J$3:$J$10000=<I$ 7)),--((Data!$AC$3:$AC$10000="c")+(Data!$AC$3:$AC$10000= "m")))

Where I6 and I7 are two dates including and between which the data should be
included.

Im getting too many returned, so what am I doing wrong?

Any suggestions would be brilliant

Cheers

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Add criteria to sumproduct Greater than or equal to

Try

=SUMPRODUCT((Data!$C$3:$C$10000=$A8)*(Data!$J$3:$J $10000=I$6)*(Data!$J$3:$J$10000<=I$7)*(Data!$AC$3 :$AC$10000={"c","m"}))

If this post helps click Yes
---------------
Jacob Skaria


"Diddy" wrote:

Hi everyone,

Im using the following

=SUMPRODUCT(--(Data!$C$3:$C$10000=$A8),--((Data!$J$3:$J$10000=I$6)+(Data!$J$3:$J$10000=<I$ 7)),--((Data!$AC$3:$AC$10000="c")+(Data!$AC$3:$AC$10000= "m")))

Where I6 and I7 are two dates including and between which the data should be
included.

Im getting too many returned, so what am I doing wrong?

Any suggestions would be brilliant

Cheers

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 155
Default Add criteria to sumproduct Greater than or equal to

Thank you Max just the job

"Max" wrote:

Think this part:
..,--((Data!$J$3:$J$10000=I$6)+(Data!$J$3:$J$10000=<I$ 7)),..

should be multiplicative (AND)

Try (untested):
=SUMPRODUCT((Data!$C$3:$C$10000=$A8)*(Data!$J$3:$J $10000=I$6)*(Data!$J$3:$J$10000<=I$7)*((Data!$AC$ 3:$AC$10000="c")+(Data!$AC$3:$AC$10000="m")))
voila? hit the YES below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Diddy" wrote:
Im using the following

=SUMPRODUCT(--(Data!$C$3:$C$10000=$A8),--((Data!$J$3:$J$10000=I$6)+(Data!$J$3:$J$10000=<I$ 7)),--((Data!$AC$3:$AC$10000="c")+(Data!$AC$3:$AC$10000= "m")))

Where I6 and I7 are two dates including and between which the data should be
included.

Im getting too many returned, so what am I doing wrong?

Any suggestions would be brilliant

Cheers

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Add criteria to sumproduct Greater than or equal to

Welcome, glad to hear
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Diddy" wrote in message
...
Thank you Max just the job





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 155
Default Add criteria to sumproduct Greater than or equal to

Thank you Jacob That did the trick :-)

"Jacob Skaria" wrote:

Try

=SUMPRODUCT((Data!$C$3:$C$10000=$A8)*(Data!$J$3:$J $10000=I$6)*(Data!$J$3:$J$10000<=I$7)*(Data!$AC$3 :$AC$10000={"c","m"}))

If this post helps click Yes
---------------
Jacob Skaria


"Diddy" wrote:

Hi everyone,

Im using the following

=SUMPRODUCT(--(Data!$C$3:$C$10000=$A8),--((Data!$J$3:$J$10000=I$6)+(Data!$J$3:$J$10000=<I$ 7)),--((Data!$AC$3:$AC$10000="c")+(Data!$AC$3:$AC$10000= "m")))

Where I6 and I7 are two dates including and between which the data should be
included.

Im getting too many returned, so what am I doing wrong?

Any suggestions would be brilliant

Cheers

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
Greater/Less Than or Equal To Hoov Excel Discussion (Misc queries) 5 May 14th 09 05:54 PM
IF with Equal to or Greater than sonicj Excel Discussion (Misc queries) 4 May 1st 08 09:02 PM
sort data rows "greater than or equal" criteria in another cell HV man Excel Worksheet Functions 0 March 26th 06 11:50 PM
GREATER OR EQUAL TO BUT LESS THAN Problem using Sumproduct Ragdyer Excel Worksheet Functions 0 September 29th 05 05:39 AM
Vlookup but also equal to and greater than? dazman Excel Worksheet Functions 1 August 7th 05 05:59 PM


All times are GMT +1. The time now is 09:31 AM.

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"