View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default Adding data from another sheet


Assuming you want the name, first name and number to all match then,

=SUMPRODUCT((Sheet2!$A$2:$A$6=Sheet1!A2)*(Sheet2!$ B$2:$B$6=Sheet1!B2)*(Sheet2!$C$2:$C$6=Sheet1!C2)*( Sheet2!$D$2:$D$6))

Where Sheet2!A2:D6 is your table.

HTH

Steve


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