Thread: Sum product
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default 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))