#1   Report Post  
Posted to microsoft.public.excel.misc
nastech
 
Posts: n/a
Default help with sumproduct

trying to get the following work for data, has: x2 or y2
need to find how many 2's, trying the following, not working:

=SUMPRODUCT(--(RIGHT($T$123:$T$1055,1)=$BJ$7/10))

bj7 has: 20

thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
RagDyeR
 
Posts: n/a
Default help with sumproduct

Your RIGHT() formula returns 'Text', so just change it to a numeric:

=SUMPRODUCT(--(--RIGHT($T$123:$T$1055)=$BJ$7/10))

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"nastech" wrote in message
...
trying to get the following work for data, has: x2 or y2
need to find how many 2's, trying the following, not working:

=SUMPRODUCT(--(RIGHT($T$123:$T$1055,1)=$BJ$7/10))

bj7 has: 20

thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default help with sumproduct

Hi!

Not much detail to work with........maybe this:

=SUMPRODUCT(--(--RIGHT($T$123:$T$1055)=$BJ$7/10))

However, if the rightmost character is not a number this will error: xx, yy

Maybe one of these:

=SUMPRODUCT(--(RIGHT($T$123:$T$1055)="2"))

=SUMPRODUCT(--(RIGHT($T$123:$T$1055)=TEXT($BJ$7/10,"0")))

Biff

"nastech" wrote in message
...
trying to get the following work for data, has: x2 or y2
need to find how many 2's, trying the following, not working:

=SUMPRODUCT(--(RIGHT($T$123:$T$1055,1)=$BJ$7/10))

bj7 has: 20

thanks



  #4   Report Post  
Posted to microsoft.public.excel.misc
nastech
 
Posts: n/a
Default help with sumproduct

Thanks, both; didn't know how to look up, what to call it.. thought the
text was playing, but couldn't find, just look up formats or text i guesse...
thanks

"Biff" wrote:

Hi!

Not much detail to work with........maybe this:

=SUMPRODUCT(--(--RIGHT($T$123:$T$1055)=$BJ$7/10))

However, if the rightmost character is not a number this will error: xx, yy

Maybe one of these:

=SUMPRODUCT(--(RIGHT($T$123:$T$1055)="2"))

=SUMPRODUCT(--(RIGHT($T$123:$T$1055)=TEXT($BJ$7/10,"0")))

Biff

"nastech" wrote in message
...
trying to get the following work for data, has: x2 or y2
need to find how many 2's, trying the following, not working:

=SUMPRODUCT(--(RIGHT($T$123:$T$1055,1)=$BJ$7/10))

bj7 has: 20

thanks




  #5   Report Post  
Posted to microsoft.public.excel.misc
nastech
 
Posts: n/a
Default help with sumproduct

(always a number, that vary from multiple: absolute / "fixed" cells)

"Biff" wrote:

Hi!

Not much detail to work with........maybe this:

=SUMPRODUCT(--(--RIGHT($T$123:$T$1055)=$BJ$7/10))

However, if the rightmost character is not a number this will error: xx, yy

Maybe one of these:

=SUMPRODUCT(--(RIGHT($T$123:$T$1055)="2"))

=SUMPRODUCT(--(RIGHT($T$123:$T$1055)=TEXT($BJ$7/10,"0")))

Biff

"nastech" wrote in message
...
trying to get the following work for data, has: x2 or y2
need to find how many 2's, trying the following, not working:

=SUMPRODUCT(--(RIGHT($T$123:$T$1055,1)=$BJ$7/10))

bj7 has: 20

thanks




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
Adding "OR" to a Sumproduct Formula Duke Carey Excel Worksheet Functions 0 March 21st 06 06:41 PM
Need help with sumproduct and dynamic ranges Bill_S Excel Worksheet Functions 2 March 19th 06 01:19 AM
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 01:27 AM.

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"