ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Text vs Number (https://www.excelbanter.com/excel-worksheet-functions/119651-text-vs-number.html)

Curtis

Text vs Number
 
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

Teethless mama

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


Curtis

Text vs Number
 
Thanks

"Teethless mama" wrote:

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



All times are GMT +1. The time now is 05:44 AM.

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