Thread: SumIf function
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
VBA Noob VBA Noob is offline
external usenet poster
 
Posts: 1
Default SumIf function


Hi

Say Col A has part No. Col b has Loc 1, col C has Loc 2 then this
formula should work

=SUMPRODUCT(--(A2:A15="A")*(B2:B15)+(C2:C15))

VBA Noob


--
VBA Noob
------------------------------------------------------------------------
VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
View this thread: http://www.excelforum.com/showthread...hreadid=561274