Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default take the green pill or take the SUMPRODUCT?

I have this function, bestowed upon me from beyond excel purgatory...


=SUMPRODUCT(--(Sheet2!$G$2:$G$65536=$E$7),--(Sheet2!$L$2:$L
$65536=1),--(Sheet2!$L$2:$L$65536<=3999),Sheet2!$M$2:$M$65536)

Column L is full of numbers from 0 to 9999, the second expression in
the formula needs to call up all numbers in Column L from 1 to 3999.

What if? What if... I still need 1 to 3999, but need to exclude two
numbers, 2000 and 2010 from the set?

Please, please...please....thanks for any assistance given...!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default take the green pill or take the SUMPRODUCT?

=SUMPRODUCT(--(Sheet2!$G$2:$G$65535=$E$7),--(Sheet2!$L$2:$L$65535=1),--(Sheet2!$L$2:$L$65535<=3999),
--(Sheet2!$L$2:$L$65535<2000),--(Sheet2!$L$2:$L$65535<2010),Sheet2!$M$2:$M$65535)

but a dynamic range might work better her rather than huge ranges

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



wrote in message
oups.com...
I have this function, bestowed upon me from beyond excel purgatory...


=SUMPRODUCT(--(Sheet2!$G$2:$G$65536=$E$7),--(Sheet2!$L$2:$L
$65536=1),--(Sheet2!$L$2:$L$65536<=3999),Sheet2!$M$2:$M$65536)

Column L is full of numbers from 0 to 9999, the second expression in
the formula needs to call up all numbers in Column L from 1 to 3999.

What if? What if... I still need 1 to 3999, but need to exclude two
numbers, 2000 and 2010 from the set?

Please, please...please....thanks for any assistance given...!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default take the green pill or take the SUMPRODUCT?

On Jul 25, 10:54 am, "Bob Phillips" wrote:
=SUMPRODUCT(--(Sheet2!$G$2:$G$65535=$E$7),--(Sheet2!$L$2:$L$65535=1),--(Sh*eet2!$L$2:$L$65535<=3999),
--(Sheet2!$L$2:$L$65535<2000),--(Sheet2!$L$2:$L$65535<2010),Sheet2!$M$2:$*M$65535 )

but a dynamic range might work better her rather than huge ranges

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

wrote in message

oups.com...



I have this function, bestowed upon me from beyond excel purgatory...


=SUMPRODUCT(--(Sheet2!$G$2:$G$65536=$E$7),--(Sheet2!$L$2:$L
$65536=1),--(Sheet2!$L$2:$L$65536<=3999),Sheet2!$M$2:$M$65536)


Column L is full of numbers from 0 to 9999, the second expression in
the formula needs to call up all numbers in Column L from 1 to 3999.


What if? What if... I still need 1 to 3999, but need to exclude two
numbers, 2000 and 2010 from the set?


Please, please...please....thanks for any assistance given...!- Hide quoted text -


- Show quoted text -


Many Thanks Bob, will look into the dynamic range for the future!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default take the green pill or take the SUMPRODUCT?

another way

=SUMPRODUCT(--(Sheet2!$G$2:$G$65536=$E$7),--(Sheet2!$L$2:$L
$65536=1),--(Sheet2!$L$2:$L$65536<=3999),Sheet2!$M$2:$M$65536)-
SUMPRODUCT(--(Sheet2!$G$2:$G$65536=$E$7),--or(Sheet2!$L$2:$L
$65536=2000,Sheet2!$L$2:$L$65536=2010),Sheet2!$M$2 :$M$65536)

" wrote:

I have this function, bestowed upon me from beyond excel purgatory...


=SUMPRODUCT(--(Sheet2!$G$2:$G$65536=$E$7),--(Sheet2!$L$2:$L
$65536=1),--(Sheet2!$L$2:$L$65536<=3999),Sheet2!$M$2:$M$65536)

Column L is full of numbers from 0 to 9999, the second expression in
the formula needs to call up all numbers in Column L from 1 to 3999.

What if? What if... I still need 1 to 3999, but need to exclude two
numbers, 2000 and 2010 from the set?

Please, please...please....thanks for any assistance given...!


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
very green at this formula stuff? [email protected] Excel Worksheet Functions 1 July 16th 07 08:00 AM
Turning green bollard Excel Worksheet Functions 15 April 23rd 07 09:32 AM
Green corner in cell?????? SITCFanTN Excel Discussion (Misc queries) 2 June 12th 06 04:21 AM
Green Tick Marks DNA Excel Discussion (Misc queries) 5 June 13th 05 08:22 PM
how 'come green isn't green? ericx Excel Discussion (Misc queries) 7 November 26th 04 02:49 PM


All times are GMT +1. The time now is 12:43 PM.

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

About Us

"It's about Microsoft Excel"