Thread: Sumproduct
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Lerner Lerner is offline
external usenet poster
 
Posts: 39
Default Sumproduct

I used a formula given for SUMPRODUCT( given in this forum).
=SUMPRODUCT(--(A1:A2000="john
doe")*(B1:B2000="January")*(C1:C2000="Visit")*(D1: D2000="newyork"))
The column D could be Newyork, Washington, Miami or Philaderphia and I'like
to have the sumproduct with the same criteria for column A,B,C but D could
change between those states without making any difference in my counting.
The question is How can I add those states to the original formula in order
to include them in the sumproduct as if it were Newyork.
Something like "and"," or"...
Tx.