#1   Report Post  
tamato43
 
Posts: n/a
Default Sumproduct Text

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


  #2   Report Post  
Ragdyer
 
Posts: n/a
Default

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

=INDEX(Sheet1!D3:D38,MATCH(1,(Sheet1!A3:A38=A3)*(S heet1!B3:B38=B3)*(Sheet1!C
3:C38=C3),0))
--
Array formulas must be entered with CSE, <Ctrl <Shift <Enter, instead of
the regular <Enter, which will *automatically* enclose the formula in curly
brackets, which *cannot* be done manually.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"tamato43" wrote in message
...
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),S
heet1!D3:D38)

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

My Question:

How Can I sumproduct as text



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SUMPRODUCT that bring Text MESTRELLA29 Excel Worksheet Functions 5 May 13th 05 07:27 AM
SUMPRODUCT vs Text??? Ken Excel Worksheet Functions 2 April 9th 05 07:21 PM
Sort or Filter option? Mcobra41 Excel Worksheet Functions 3 February 23rd 05 07:22 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM
using sumproduct in a range of text fields? Basil Excel Worksheet Functions 1 December 13th 04 12:19 PM


All times are GMT +1. The time now is 04:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"