Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default Help with tweaking formula

Community,

Using the base of (which works):

=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3=G3))*(B3="S")


How would I write:

=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3=G3))*(B3="S")
H3:N3="N" OR "L"
with no reference to B3 at all, such as:
=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3="N" or "L"))


=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3=G3))*(B3="S")
H3:N3G3 with no
reference to B3 at all, such as:
=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3G3))


Thanks in advance,

John



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 915
Default Help with tweaking formula

Hello, please see comments within:

Johndb wrote:
Community,

Using the base of (which works):

=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3=G3))*(B3="S")


How would I write:

=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3=G3))*(B3="S")
H3:N3="N" OR "L"
with no reference to B3 at all, such as:
=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3="N" or "L"))


This logic does not make sense. If H3:N3 are numbers, they cannot be
text ("N", "L"). These mutually exclusive conditions will always return
zero. What are you trying to achieve here?

=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3=G3))*(B3="S")
H3:N3G3 with no
reference to B3 at all, such as:
=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3G3))


Should work exactly as you described, to wit: count how many cells in
H3:N3 are numbers and are greater than G3.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default Help with tweaking formula

SMartin,

H3:N3 can be Numbers, Text, or Blanks. These formula variations are being
used for conditional formatting.

Hope that helps.

Thanks,

John

"smartin" wrote:

Hello, please see comments within:

Johndb wrote:
Community,

Using the base of (which works):

=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3=G3))*(B3="S")


How would I write:

=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3=G3))*(B3="S")
H3:N3="N" OR "L"
with no reference to B3 at all, such as:
=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3="N" or "L"))


This logic does not make sense. If H3:N3 are numbers, they cannot be
text ("N", "L"). These mutually exclusive conditions will always return
zero. What are you trying to achieve here?

=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3=G3))*(B3="S")
H3:N3G3 with no
reference to B3 at all, such as:
=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3G3))


Should work exactly as you described, to wit: count how many cells in
H3:N3 are numbers and are greater than G3.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 915
Default Help with tweaking formula

Hi John,

It will be helpful if you restate your problem in terms of the
logical/business requirements instead of suggesting a formula as an answer.

To that end, is this an accurate interpretation?:

'Count cells H3:N3 where H3:N3 is a number OR H3:N3 equals "N" or "L"'?

Best Regards

Johndb wrote:
SMartin,

H3:N3 can be Numbers, Text, or Blanks. These formula variations are being
used for conditional formatting.

Hope that helps.

Thanks,

John

"smartin" wrote:

Hello, please see comments within:

Johndb wrote:
Community,

Using the base of (which works):

=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3=G3))*(B3="S")


How would I write:

=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3=G3))*(B3="S")
H3:N3="N" OR "L"
with no reference to B3 at all, such as:
=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3="N" or "L"))

This logic does not make sense. If H3:N3 are numbers, they cannot be
text ("N", "L"). These mutually exclusive conditions will always return
zero. What are you trying to achieve here?

=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3=G3))*(B3="S")
H3:N3G3 with no
reference to B3 at all, such as:
=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3G3))

Should work exactly as you described, to wit: count how many cells in
H3:N3 are numbers and are greater than G3.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Help with tweaking formula

http://groups.google.com/group/micro...f6069f8?hl=en#

--
Biff
Microsoft Excel MVP


"smartin" wrote in message
...
Hi John,

It will be helpful if you restate your problem in terms of the
logical/business requirements instead of suggesting a formula as an
answer.

To that end, is this an accurate interpretation?:

'Count cells H3:N3 where H3:N3 is a number OR H3:N3 equals "N" or "L"'?

Best Regards

Johndb wrote:
SMartin,

H3:N3 can be Numbers, Text, or Blanks. These formula variations are
being used for conditional formatting.

Hope that helps.

Thanks,

John

"smartin" wrote:

Hello, please see comments within:

Johndb wrote:
Community,

Using the base of (which works):

=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3=G3))*(B3="S")


How would I write:

=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3=G3))*(B3="S")
H3:N3="N" OR
"L" with no reference to B3 at all, such as:
=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3="N" or "L"))
This logic does not make sense. If H3:N3 are numbers, they cannot be
text ("N", "L"). These mutually exclusive conditions will always return
zero. What are you trying to achieve here?

=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3=G3))*(B3="S")
H3:N3G3
with no reference to B3 at all, such as:
=SUMPRODUCT(--(ISNUMBER(H3:N3)),--(H3:N3G3))
Should work exactly as you described, to wit: count how many cells in
H3:N3 are numbers and are greater than G3.





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 915
Default Help with tweaking formula

T. Valko wrote:
http://groups.google.com/group/micro...f6069f8?hl=en#


I see. Thanks for that!
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
macro tweaking jatman Excel Discussion (Misc queries) 1 March 21st 08 09:13 PM
Tweaking formula? Richard Excel Discussion (Misc queries) 2 August 14th 06 12:52 PM
Golf Score Formula needs tweaking kevhatch Excel Discussion (Misc queries) 2 April 29th 06 12:48 AM
"AutoPrint" type macro requires tweaking 1drunkbrit Excel Discussion (Misc queries) 0 August 24th 05 08:04 PM


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