View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs daddylonglegs is offline
external usenet poster
 
Posts: 1
Default Efficient Array Formula Construction


....and to answer your first question, you can use the same formula
without a named range, if you wish, by specifying an array of
department names with the formula i.e.

=sumproduct(--isnumber(match(a1:a100,{"dept A","dept B"},0)),b1:b100)


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=564037