View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MAANI MAANI is offline
external usenet poster
 
Posts: 23
Default sumproduct with duplicates in two columns

I have 4 identical sheets that have same columns,different data.In each sheet
column B has dates,and column G has order numbers,(see example below),I want
to know the number of days an order took place.
B G
2-Jan-09 678
2-Jan-09 555
3-Jan-09 678
4-Jan-09 555
4-Jan-09 678
4-Jan-09 678

So number of days for order 678 is 3 and for order 555 its 2.Note that order
678 or 555 could appear in more than one sheet.