Thread: Text vs Number
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Teethless mama Teethless mama is offline
external usenet poster
 
Posts: 3,718
Default Text vs Number

This formula should either text or number

=SUMPRODUCT(--($J$5:$J$4000=$T$4007),--($AT$5:$AT$40000),$AT$5:$AT$4000)


"Curtis" wrote:

I am using the formula below.


=SUMPRODUCT(--($J$5:$J$4000=$T$4007)*--($AT$5:$AT$40000),--($AT$5:$AT$4000))

But sometimes the information in column j can be formated as text or number.
I need to be able to use the formula in either case.

Is that possible?

Thanks

ce