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