Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / March 2008

Tip: Looking for answers? Try searching our database.

Count unique values - Match and conditional IF

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sraynes - 25 Mar 2008 00:23 GMT
I have the following scenario.  used to calculate the progress of a server
project.

Column C is the Division owning the hardware, several unique values repeated
as appropriate.  i.e. ABC, or XYZ
Column F is the serial number of the server. May or may not be unique. Some
hardware runs one server, others run mulitple servers on that serial number.
i.e. XYZ123 or 876HVS76
Column K is a Y if task is done, blank if not.

I've create this formula to count the unique number of items in F, so I know
how many pieces of hardware with that are the same serial number I have in
the inventory.

=SUM(IF(FREQUENCY(MATCH(ServerListByOS!$F$3:$F$162,ServerListByOS!$F$3:$F$162,0),MATCH(ServerListByOS!$F$3:$F$162,ServerListByOS!$F$3:$F$162,0))>0,1))

This works fine, but doesn't give me counts of unique serial numbers by
Division, which I need.  How do I get that?

Additionally, I want to know when the work is completed, meaning all items
for that serial number are marked with a Y in column K.  Then I want a total
for these by division.

In the end, I hop to report on total unique serial numbers by division, then
also the total of those unique serial numbers, that all have a Y in column K.

Division should always match on each row for that serial number.  Assume it
will.

Any help is greatly appreciated.


Column C varies, but for every match of Column F, C should match.  As the
project progresses, the K column should eventually all have Y's indicating
this piece of hardware is completed, and I want to sum a single item for
Division Column C.
Nigel - 25 Mar 2008 08:07 GMT
Sounds like you need to apply a Pivot table to your data. Look up this
approach in Excel help for more details

Signature

Regards,
Nigel
nigelnospam@9sw.co.uk

>I have the following scenario.  used to calculate the progress of a server
> project.
[quoted text clipped - 39 lines]
> this piece of hardware is completed, and I want to sum a single item for
> Division Column C.
sraynes - 25 Mar 2008 13:47 GMT
Nigel - I hadn't thought of this simple solution.  I was "stuck" on wanting a
total by division in a cell of my status page for the project.  I'll do this
and see if it's enough. Maybe I was overthinking it.

thanks
-----------

> Sounds like you need to apply a Pivot table to your data. Look up this
> approach in Excel help for more details
[quoted text clipped - 42 lines]
> > this piece of hardware is completed, and I want to sum a single item for
> > Division Column C.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.