View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
minrufeng[_6_] minrufeng[_6_] is offline
external usenet poster
 
Posts: 1
Default change the number of rows to a variable


Now, the number of rows in 'Data' sheet is 3938, so the function is:
=SUMPRODUCT((Data!G2:G3938=7100)*(Data!B2:B3938=10 00)*(Data!O2:O3938=2)*(Data!C2:C3938)


If I don't know the number of rows is 3938, what should I do t
accomplish the same function

--
minrufen
-----------------------------------------------------------------------
minrufeng's Profile: http://www.excelforum.com/member.php...fo&userid=2620
View this thread: http://www.excelforum.com/showthread.php?threadid=39592