View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default averaging on an "if" or "sumproduct"


Nancy,

Type in this formula where you want the result.

=AVERAGE(IF(A2:A8="Nick",B2:B8,""))

This is an array formula so commit with Ctrl-Shift-Enter which will
result in

{=AVERAGE(IF(A2:A8="Nick",B2:B8,""))}



Cheers,

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=491554