View Single Post
  #4   Report Post  
duane
 
Posts: n/a
Default


your data table in a2:b16 and your zip/state table in a20:b24

states listed in a27:a29

in cells b27:b29

=SUMPRODUCT(($A$2:$A$16=MIN(IF($B$20:$B$24=$A27,$ A$20:$A$24)))*($A$2:$A$16<=MAX(IF($B$20:$B$24=$A27 ,$A$20:$A$24)))*($B$2:$B$16))

an array formula so control+shift+enter


--
duane


------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=473736