use = SUMIF(sheet1!A3:A160,B11,sheet1!B3:B160)
( assuming that you have 160 rows.)
"phil2006" wrote:
Is it possible to condense the following formula as it is too long.
=SUM(IF(sheet1!$A$3=B11,sheet1!B$3)+IF(sheet1!$A$4 =B11,sheet1!B$4)+IF(sheet1!$A$5=B11,sheet1!B$5)).. .etc
The problem is that I have around 160 rows on sheet 1 which need adding
in.
Thanks
Phil
--
phil2006
------------------------------------------------------------------------
phil2006's Profile: http://www.excelforum.com/member.php...o&userid=35092
View this thread: http://www.excelforum.com/showthread...hreadid=549415