Forum Discussion
COUNT based on categorized criteria(priority basis)
Well man if you just need to count the number of occupier id for tenant, risk level and security this is the formula:
as I can see it works perfectly.
Example
Tenant: XYZ
Risk Level: Medium
Trend: Deteriorating
NUMBER OF OCCUPIER 3
if I may elaborate thsi sir,
the thing wrong with this in my case is:
It is counting a same occupierID in all categories in which they appear for e.g:
11 BAC drive is being counted in EXTREME-DETERIORATING
as well as 11 BAC Drive is being counted in MEDIUM - IMPORVING
and also 11 BAC Drive is being counted in HIGH-DETERIORATING
whereas (as of my original post) I want 11 BAC drive to be counted in EXTREME - DETERIORATING category ONLY as this is on highest priority.
- Gabry2 years ago
Super User
Understood sorry, don't know how to do it then
- mariaSam10142 years ago
Helper I
no problem, i just cant structure it i am not sure if NESTED IFs work here or COUNTIF