View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
moni88
 
Posts: n/a
Default if then /lookup function


I want to sum up all the value such as "aa" instead of softing and using
function sum/if. But it doesn't work. Any expect can help? Thanks.

1 aa 10
2 bb 40
3 aa 20
4 cc 25
5 aa 10
6 bb 44

=SUM(IF(B1:B6="aa",C1:C6),0)


--
moni88
------------------------------------------------------------------------
moni88's Profile: http://www.excelforum.com/member.php...o&userid=33808
View this thread: http://www.excelforum.com/showthread...hreadid=535812