excel - How to use COUNT/COUNTIF to count cell value of a given range in another sheet -
sheet1 contains raw data: name (col-1), project (col-2), year.... etc (columns)
sheet2 range (a1:a5) has project name list
i need count, in sheet2 (range b1:b5), of each project in list sheet1.
how can use countif that?
you can use following formula in sheet2 count of each projects listed in sheet1.
=countif(sheet1!b:b,a2)
lets take of how implement above formula.
lets have following data in sheet1. check below image:
now, lets take how enter formula count in sheet2. check below image:
as can use formula enter in cell b2 of sheet2. using countif can count of projects in sheet1
Comments
Post a Comment