Try:
=sumproduct(--($I$1:$I$527=2001),--($H$1:$H$5275))
Sumproduct must have arrays (i.e. cannot be columns e.g H:H) and they must
be of same size.
HTH
"Monty" wrote:
Dave
Thanks for this See below for what i am trying to acheive.
In column (I) I have cost centres, which range from 2001 to 2042 and in
column (H) I have the number of days taken for payment. In cell AA4 and I
want to return all payments over 5 days belonging to cost centres
2033,2036,2037 & 2041.
Can you please help.
Monty
"davesexcel" wrote:
Something like this??
=COUNTIF($I$1:$I$527,2001)&" and
"&COUNTIF(H:H,"5")-COUNTIF(H:H,"<0")
--
davesexcel
------------------------------------------------------------------------
davesexcel's Profile: http://www.excelforum.com/member.php...o&userid=31708
View this thread: http://www.excelforum.com/showthread...hreadid=564611