Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 151
Default HELP ON SUMPRODUCT

THIS IS MY FORMULA

=SUMPRODUCT((--(INDIRECT($C$5&"!$e$1:$e$5000")36000)*(--(INDIRECT($C$5&"!$D$1:$D$5000")<"Threat found!"))))

e1:e5000 is date
d1:d5000 is for expression, where mostly statement "Threat found!" will be
there.

Now I need to get count of records where there is date in e1:e5000 and
where there is no string expression "Threat found!"

The above formula is counting the title in e1 "Definitions" and in future I
may have some other string between e1:e5000, I need to validate only dates
between e1:e5000. I have put 36000 thinking that I can omit other than date
but "definition" value turns out to be true, so it is taken in to count

Kindly advise and thanks in advance.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default HELP ON SUMPRODUCT

I think this is what you mean

=SUMPRODUCT(--(ISNUMBER(INDIRECT($C$5&"!$e$1:$e$5000"))),
--(INDIRECT($C$5&"!$e$1:$e$5000")36000),
--(INDIRECT($C$5&"!$D$1:$D$5000")<"Threat found!"))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Eddy Stan" wrote in message
...
THIS IS MY FORMULA


=SUMPRODUCT((--(INDIRECT($C$5&"!$e$1:$e$5000")36000)*(--(INDIRECT($C$5&"!$D
$1:$D$5000")<"Threat found!"))))

e1:e5000 is date
d1:d5000 is for expression, where mostly statement "Threat found!" will be
there.

Now I need to get count of records where there is date in e1:e5000 and
where there is no string expression "Threat found!"

The above formula is counting the title in e1 "Definitions" and in future

I
may have some other string between e1:e5000, I need to validate only dates
between e1:e5000. I have put 36000 thinking that I can omit other than

date
but "definition" value turns out to be true, so it is taken in to count

Kindly advise and thanks in advance.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 151
Default HELP ON SUMPRODUCT

Hi Bob & Don,
Thanks both of you..Both are working.

I thought there is no way but you have shown me 2 ways.
I love excel which is getting powerful as we use more & more.



"Eddy Stan" wrote:

THIS IS MY FORMULA

=SUMPRODUCT((--(INDIRECT($C$5&"!$e$1:$e$5000")36000)*(--(INDIRECT($C$5&"!$D$1:$D$5000")<"Threat found!"))))

e1:e5000 is date
d1:d5000 is for expression, where mostly statement "Threat found!" will be
there.

Now I need to get count of records where there is date in e1:e5000 and
where there is no string expression "Threat found!"

The above formula is counting the title in e1 "Definitions" and in future I
may have some other string between e1:e5000, I need to validate only dates
between e1:e5000. I have put 36000 thinking that I can omit other than date
but "definition" value turns out to be true, so it is taken in to count

Kindly advise and thanks in advance.


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
Need help with sumproduct & dynamic ranges bill_s1416 Excel Worksheet Functions 1 March 19th 06 03:36 AM
Sumproduct Peter B Excel Worksheet Functions 1 March 7th 05 01:59 PM
sumproduct causing memory errors? dave Excel Worksheet Functions 1 March 3rd 05 09:31 AM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


All times are GMT +1. The time now is 02:09 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"