View Single Post
  #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