ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   help with sumproduct (https://www.excelbanter.com/excel-discussion-misc-queries/95869-help-sumproduct.html)

nastech

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

RagDyeR

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



Biff

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




nastech

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





nastech

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






All times are GMT +1. The time now is 10:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com