On Mar 25, 5:08*am, brett <planetbr...@gmail.com> wrote:
> Sheet1 is a listing of all the computer names that
> should exist
> Sheet2 is a listing of all the computer names that
> have been physically verified.
[....]
> I need to have a formula that will count the number
> of computers in office 1 that have been found.
If you have XL2007 or later:
=COUNTIFS(Sheet2!$A$1:$A$1000,A1,Sheet2!$B$1:$B$1000,B1)
where A1 contains the computer name and B1 contains the office name.
If you have XL2003 or earlier:
=SUMPRODUCT((Sheet2!$A$1:$A$1000=A1)*(Sheet2!$B$1:$B$1000=B1))
The multiplication (*) acts like AND. We cannot use AND itself
effectively in this context.
|