Unique cities based on several criterias

baleshst

Board Regular
Joined
Jan 24, 2010
Messages
131
LocationCompanyTYPEOperational fromZoneStateCity
Kolkata City CenterFINOXLeased18-Jun-04EastWest BengalKolkata
Kolkata SwabhumiFINOXLeased25-Jun-04EastWest BengalKolkata
Delhi Janak PlaceJayamLeased8-Aug-14NorthDelhiDelhi
Mumbai MaladDameLeased1-Apr-10WestMaharashtraMumbai
NashikDameLeased1-Apr-10WestMaharashtraNasik
Mumbai Nariman PointFINOXLeased12-Nov-04WestMaharashtraMumbai
Goa GMCFINOXLeased13-Nov-04WestGoaGoa
As on31-07-14
count of Unique Cities for leasedFINOXDameJayamTotal
East
West
North
South

<tbody>
</tbody>





Please provide solution for the above table.

Count of Unique city names should populate in the blue sections based on the following criteria

1)As on Date (which is dependent on the Operational from column)
2)company name
3)zone
4)Type
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Can you something like this?


Excel 2012
ABCD
1LocationCompanyDateZone
2a106/18/14North
3b106/25/14South
4c208/15/14East
5d307/13/14West
6e109/30/14North
7f209/20/11West
8g308/12/12South
9h101/15/14West
10
11As on7/14/2014
12
13123
14North100
15South101
16East000
17West111
Sheet1
Cell Formulas
RangeFormula
B14=SUMPRODUCT(($D$2:$D$9=$A14)*($B$2:$B$9=B$13)*($C$2:$C$9<=$B$11))
C14=SUMPRODUCT(($D$2:$D$9=$A14)*($B$2:$B$9=C$13)*($C$2:$C$9<=$B$11))
D14=SUMPRODUCT(($D$2:$D$9=$A14)*($B$2:$B$9=D$13)*($C$2:$C$9<=$B$11))
 
Upvote 0

Forum statistics

Threads
1,216,117
Messages
6,128,936
Members
449,480
Latest member
yesitisasport

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