Sumproduct / countif

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

briginsr

Thread Starter
Joined
Jan 19, 2011
Messages
1
Hi

I have a data table with the following:

A - Site (ranging 1-9999 and a site can appear more than once and up to 11 times)
B - Room number at site (this is a unique number per entry)
C - Site "complete" / "started" (the part of the site next to the completed room number at site will become complete once the room is updated. i.e. If there are 7 rooms at site number 82, 82 will appear 7 times in column A and as each room number is completed, a "complete" will go next to the site number of the corresponding room. So if there are 4 rooms completed, 4 of the 82's will have a complete next to them and the remaining 3 82's will be blank / "started"

I'm trying to produce a status report to show how many Sites are 100% complete (i.e. all of the rooms at that site have been "completed"). I've tried using Sumproduct and CountIf in various different ways but haven't been able to generate anything that doesn't require manually inputting the formula against each site, and with 9999 sites and many of them appearing multiple times, it's proving to be a nightmare!

Would any of you have any suggestions?

Thanks
 
Joined
Jul 1, 2005
Messages
8,546
"Labels" in E1:F1 -- "Site", "Complete".

Sites in E2:En (you can use Advanced Filter > Uniques to "pull" these).

In F2:

=SUMPRODUCT(($A$2:$A$6=E2)*($C$2:$C$6="complete"))/COUNTIF(A:A,E2)

and copy down. You'll have to adjust the "$6" refs to match the "length" of your columns. Then just filter E:F where F = 1.

HTH (welcome to the board :))
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top