View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Conan Kelly Conan Kelly is offline
external usenet poster
 
Posts: 98
Default Difficult (for me) question about conditional SUM

kayard,

You might try this:

=sumproduct(($A$1:$A$1000=TRUE)*($B$1:$B$1000=TRUE )*($C$1:$C$1000))

OR

=sumproduct(($A$1:$A$1000="TRUE")*($B$1:$B$1000="T RUE")*($C$1:$C$1000))

Hopefully one of those will work for you.

I hope this helps,

Conan



"kayard" wrote in message
...

Hi, I'm back again asking for some help.

I have in column A and B 2 formulas that evaluate to either true or
false. In column C I have a number. Say that I have 1000 rows; i want
to sum only those values in column C where valuels in column A and B
in the same row are both true.

Of course I can create a new column D where I AND booleans in A and B
but This would make me create a new column ... I do not want this
because in my file I have many many pairs of A & B. So I would have to
create at least 25 more columns containing AND formulas...

I need something that doesn't oblige me to create any new column

Thanks in advance for any help

Sorry for my english, I hope I have made myself understood.

Paolo

Italy


--
kayard
------------------------------------------------------------------------
kayard's Profile: http://www.excelforum.com/member.php...o&userid=24716
View this thread: http://www.excelforum.com/showthread...hreadid=569507