Sumproduct Text

G

Guest

I have a spreadsheet (Sheet1) that consists of 4 Colums:

1) A B C
D
2) Hotel Chain Property Name Check-in Date Discount
3) Hilton San Diego Golf 12/5/2005 $25.00 Off

Then I've created a form on another page (sheet2) to validate discounts.
So If I plug in "Hilton" on Cell A3, "San Diego Golf" on Cell B3, and
"12/5/2005" on Cell C3, My result of course should come out as "$25.00 Off"


I've tried using this formula:

=SUMPRODUCT(--(A3=Sheet1!A3:A38),--(B3=Sheet1!B3:B38),--(C3=Sheet1!C3:C38),Sheet1!D3:D38)

But because Column D is Text it's not reading it.

My Question:

How Can I sumproduct as text
 
R

Ragdyer

Try this *array* formula in Column D of Sheet2:

=INDEX(Sheet1!D3:D38,MATCH(1,(Sheet1!A3:A38=A3)*(Sheet1!B3:B38=B3)*(Sheet1!C
3:C38=C3),0))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top