I want to display the COUNT of Total Number of Resources based on their Designation and Grade in Grade table (column I) as shown in the attachment.
Appreciate your help in this regard.
I want to display the COUNT of Total Number of Resources based on their Designation and Grade in Grade table (column I) as shown in the attachment.
Appreciate your help in this regard.
Last edited by sureshpillitla; 05-11-2012 at 02:09 PM.
Hi Suresh,
See the attached file which has been formulated as per your query. thanks.
Grade Wise Resource Count based on Designations.xlsx
Regards,
DILIPandey
<click on below 'star' if this helps>
DILIPandey, Excel rMVP
+919810929744 (India), +971528225509 (Dubai), [email protected]
Hi Suresh,
While Dili's approach will work for the exact values you have in your sample sheet, if the grades in your Designation table change, the formulas will no longer return proper results. It might be easiest to add a helper column onto the Resources table that looks up the Designation for each resource. So in D4 enter:
=VLOOKUP(C4,$E$4:$F$7,2,0)
Fill that down to D18. Then in I4 you can just use:
=COUNTIF($D$4:$D$18,H4)
Fill that down to I6.
you can try this formula in I4 copied down (array formula requires CSE)
=SUM(--(LOOKUP($C$4:$C$18,$E$4:$E$7,$F$4:$F$7)=H4))
but your data in designation table needs to be sorted ascending by the designation
Last edited by mohd9876; 05-11-2012 at 02:45 PM. Reason: forgot to mention that it is an array formula
Hi Suresh,
In I4 with just ENTER, then copy down.
=SUMPRODUCT(COUNTIF(C$4:C$18,E$4:E$7)*(F$4:F$7=H5))
Last edited by Haseeb Avarakkan; 05-11-2012 at 09:02 PM.
Regards,
Haseeb Avarakkan
__________________________________
"Feedback is the breakfast of champions"
Haseeb,
Thankyou very much. Your formulae has solved the purpose.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks