Guys, Thanks to all for your help. Problem now solved and working a treat. :-) ArtySin
On Sep 15, 5:09 pm, ArtySin <kenstrain...@gmail.com> wrote: > Hi > I have two columns as below using Excel 2000 (unfortunately, corporate > no spend policy): These columns have been exported from a database and > appear as the example below. > A B > Status Date Run > Passed 22/08/2011 > Failed 22/08/2011 > Failed 23/08/2011 > Passed 22/08/2011 > Passed 23/08/2011 > N/A 22/08/2011 > N/A 22/08/2011 > Passed 22/08/2011 > N/A 23/08/2011 > Failed 23/08/2011 > > What I want to do is add up the number of times either passed or > failed appears against a date but do not want to include the N/A. For > example to count up the total of passed or failed for the 22/08/2011 > would give a result of 4 > > I've tried =SUMPRODUCT(--($A$2:$A$11=A2)--($A$2:$A$11=A3)*--($B$2:$B > $11=B2)) and various countifs with AND statements but I can't get > this to work. > > Many thanksArtySin -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel