Thread: help urgent
View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
rank Kabel rank Kabel is offline
external usenet poster
 
Posts: 2
Default help urgent

Hi
couple of things :-)
- SUMPRODUCT does not accept ranges like A:A. You have to
use something like A1:A1000
- You have to use apostrophes to look for strings.

So assuming that cell H1 contains the condition for column
A try:
=SUMPRODUCT(--(A1:A1000=H1),--(B1:B1000=426351),--
(C1:C1000="cr"),D1:D1000)

If the values in column B are stroed as 'Text' you may use:
=SUMPRODUCT(--(A1:A1000=H1),--(B1:B1000="426351"),--
(C1:C1000="cr"),D1:D1000)

-----Original Message-----
I have tried: =SUMPRODUCT(--(A1:A=H1),--(B:B=426351),--
(C:C=cr),D:D)

and I get error:#NAME?

-----Original Message-----
Hi
try
=SUMPRODUCT(--(A1:A100="cond1"),--B1:B100="cond2"),--
(C1:C100="cond3"),D1:D100)

-----Original Message-----
needs help with excel. i need to write a formula to

check
3 columns and then sum the 4th column if ther value of

the
3 columns are true.
.

.

.