ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sum product (https://www.excelbanter.com/excel-worksheet-functions/72136-sum-product.html)

HJ

Sum product
 
I'm using the following sumproduct formula to look up two pieces on
information on a spreadsheet and then return the text that is in column A but
keep getting a #value! error. All the formatting is set to general so I'm
not sure what I am doing wrong. Any advice?

=sumproduct(('Tab1'!B2:B1199=A3)*('Tab1'!C2:C1199= B3)*('Tab1'!A2:A1199))



Kevin Vaughn

Sum product
 
The problem is sumproduct sums numbers it does not return text.
--
Kevin Vaughn


"HJ" wrote:

I'm using the following sumproduct formula to look up two pieces on
information on a spreadsheet and then return the text that is in column A but
keep getting a #value! error. All the formatting is set to general so I'm
not sure what I am doing wrong. Any advice?

=sumproduct(('Tab1'!B2:B1199=A3)*('Tab1'!C2:C1199= B3)*('Tab1'!A2:A1199))



Domenic

Sum product
 
Try the following formula instead...

=INDEX(Tab1!A2:A1199,MATCH(1,(Tab1!B2:B1199=A3)*(T ab1!C2:C1199=B3),0))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article ,
"HJ" wrote:

I'm using the following sumproduct formula to look up two pieces on
information on a spreadsheet and then return the text that is in column A but
keep getting a #value! error. All the formatting is set to general so I'm
not sure what I am doing wrong. Any advice?

=sumproduct(('Tab1'!B2:B1199=A3)*('Tab1'!C2:C1199= B3)*('Tab1'!A2:A1199))


HJ

Sum product
 
Is there another function I can use to look up two pieces of information and
then return text that is in another column?

"Kevin Vaughn" wrote:

The problem is sumproduct sums numbers it does not return text.
--
Kevin Vaughn


"HJ" wrote:

I'm using the following sumproduct formula to look up two pieces on
information on a spreadsheet and then return the text that is in column A but
keep getting a #value! error. All the formatting is set to general so I'm
not sure what I am doing wrong. Any advice?

=sumproduct(('Tab1'!B2:B1199=A3)*('Tab1'!C2:C1199= B3)*('Tab1'!A2:A1199))



Bob Phillips

Sum product
 
=INDEX('Tab1'!A2:A1199,MATCH(1,('Tab1'!B2:B1199=A3 )*('Tab1'!C2:C1199=B3),0)

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"HJ" wrote in message
...
Is there another function I can use to look up two pieces of information

and
then return text that is in another column?

"Kevin Vaughn" wrote:

The problem is sumproduct sums numbers it does not return text.
--
Kevin Vaughn


"HJ" wrote:

I'm using the following sumproduct formula to look up two pieces on
information on a spreadsheet and then return the text that is in

column A but
keep getting a #value! error. All the formatting is set to general so

I'm
not sure what I am doing wrong. Any advice?


=sumproduct(('Tab1'!B2:B1199=A3)*('Tab1'!C2:C1199= B3)*('Tab1'!A2:A1199))





HJ

Sum product
 
Thank you. I'm still getting a NAME? error. Any thoughts on that one?

"Domenic" wrote:

Try the following formula instead...

=INDEX(Tab1!A2:A1199,MATCH(1,(Tab1!B2:B1199=A3)*(T ab1!C2:C1199=B3),0))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article ,
"HJ" wrote:

I'm using the following sumproduct formula to look up two pieces on
information on a spreadsheet and then return the text that is in column A but
keep getting a #value! error. All the formatting is set to general so I'm
not sure what I am doing wrong. Any advice?

=sumproduct(('Tab1'!B2:B1199=A3)*('Tab1'!C2:C1199= B3)*('Tab1'!A2:A1199))



HJ

Sum product
 
Never mind. I figured out what I was doing wrong. Thanks so much Domenic
for the formula, it works great!!!!

"HJ" wrote:

Thank you. I'm still getting a NAME? error. Any thoughts on that one?

"Domenic" wrote:

Try the following formula instead...

=INDEX(Tab1!A2:A1199,MATCH(1,(Tab1!B2:B1199=A3)*(T ab1!C2:C1199=B3),0))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article ,
"HJ" wrote:

I'm using the following sumproduct formula to look up two pieces on
information on a spreadsheet and then return the text that is in column A but
keep getting a #value! error. All the formatting is set to general so I'm
not sure what I am doing wrong. Any advice?

=sumproduct(('Tab1'!B2:B1199=A3)*('Tab1'!C2:C1199= B3)*('Tab1'!A2:A1199))




All times are GMT +1. The time now is 09:28 AM.

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