Count Unique Values with Multiple Conditions

stbrooks13

New Member
Joined
Dec 9, 2014
Messages
40
I need to count the number of unique offices by summary position=Associate, fiscal year=2014, offer acceptance date>0 and school=I1 (which is a drop down box for all the schools we recruit from). Please help! I've been scouring the web for hours. My ranges are named, I am able to come up with a value for one condition (summary position), but I don't know how to add more IF conditions:

=SUM(IF(FREQUENCY(IF(SummaryPosition="Associate",MATCH(Office,Office,0)),ROW(Office)-ROW($E$2)+1),1))
 
Thanks everyone! I tried the following formula but it resulted in 0.

=SUM(IF(FREQUENCY(IF(SummaryPosition="Associate",IF(FiscalYear="2014",IF(OfferAcceptanceDate,">0",IF(School=I1,MATCH(Office,Office,0))))),IF(SummaryPosition="Associate",IF(FiscalYear="2014",IF(OfferAcceptanceDate,">0",IF(School=I1,MATCH(Office,Office,0))))))>0,1))

Here's a sample of my data. The formula is in a field on another worksheet that references I1 as the school.

DHG Fiscal YearPhysical LocationSummary PositionSchool for StatsCAM - Offer Accepted
2015High Point, NCAssociateHigh Point University3/25/2014
2014High Point, NCInternUniversity of North Carolina Greensboro11/20/2013
2014Atlanta, GAAssociateUniversity of Georgia11/6/2013
2015Atlanta, GAAssociateUniversity of Georgia7/22/2014
2015Memphis, TNAssociateUniversity of Memphis5/7/2014
2014Memphis, TNAssociateUniversity of Mississippi3/13/2013
2014Charlotte, NC – SouthParkAssociateNorth Carolina State University11/16/2012
2014Tysons, VAAssociateGeorge Mason University4/15/2013
2013Tysons, VAInternGeorge Mason University12/17/2012
2014Memphis, TNAssociateUniversity of Mississippi3/18/2013
2015Greenville, SCAssociateClemson University11/14/2013
2014Atlanta, GAAssociateUniversity of Georgia11/1/2012
2015Tysons, VAAssociateMarymount University4/30/2013
2013Tysons, VAInternMarymount University11/30/2012
2014Tysons, VAInternMarymount University4/30/2013
2013Tysons, VAInternMarymount University11/30/2012
2013Roanoke, VAInternVirginia Tech11/6/2012
2014Roanoke, VAAssociateVirginia Tech8/28/2013
2013Roanoke, VAInternVirginia Tech5/21/2013
2014Fort Worth, TXAssociateTexas Christian University3/13/2013
2014Birmingham, ALAssociateUniversity of Alabama12/19/2012
2015Rockville, MDAssociateVirginia Tech8/5/2013
2013Rockville, MDInternVirginia Tech2/26/2013
2015Norfolk, VAAssociateOld Dominion University4/29/2014
2014Norfolk, VAInternOld Dominion University9/2/2014
2014Norfolk, VAInternOld Dominion University1/2/2014
2014Tysons, VAAssociateUniversity of Maryland10/10/2013
2013Memphis, TNInternUniversity of Tennessee10/31/2012
2015Memphis, TNAssociateUniversity of Tennessee4/15/2014
2015Memphis, TNAssociateUniversity of Mississippi6/30/2014
2014Rockville, MDAssociateUniversity of Maryland11/2/2013

<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
@stbrook13
You are tring the wrong formula. Try the formula on post #10!!
Let me know!
 
Upvote 0
Its meant to be 2014 not "2014"

Also what does 'The formula is in a field on another worksheet that references I1 as the school' mean??
 
Upvote 0
You do not have a named range 'OfferAcceptanceDate'. It is called 'OfferAccepted'. Thats why you are getting the name error.
 
Upvote 0

Forum statistics

Threads
1,217,908
Messages
6,139,331
Members
450,194
Latest member
AmateurHour

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top