Dear All,
This need some work now as I found that when there is single value for the year so it pick it otherwise it wont.. See below Screenshot as 2020 is only one district so it is picking as 1 but 2019 is all blank with same formula.
What i want is that one district, One type and one year should return me value as 1 and rest repeating district in those categories should be blank.
For 2019:
=IF(AND(COUNTIFS($B$4:$B436,"WPV",$C$4:$C436,2019,$G$4:$G436,G4)=1,B4="WPV",C4=2019),1,"")
For 2020 same formula:
=IF(AND(COUNTIFS($B$4:$B436,"WPV",$C$4:$C436,2020,$G$4:$G436,G4)=1,B4="WPV",C4=2020),1,"")
Bookmarks