Hello everyone,
I am in need of some help with a count if type statement but I do not think countif will do what I need and I am not familiar with the VBA coding in excel. Currently I have two different workbooks that are wanting to be combined and can be by adding in one column that differentiates the two but for reporting out I need to be able to seperate the two and still count the values. So i have somethign like this and I need to be able to count the number of A, B, C, D, etc in columns 1-3 but have to seperate them into the two different categories of C and NC - I know a pivot table can show these easily and it would be easy without the categorys using a countif statement but seperating it into the two different categories is where i am getting stuck - any help would be appreciated - thanks
[TABLE="width: 500"]
<TBODY>[TR]
[TD]Category[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]b[/TD]
[TD]4[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]NC[/TD]
[TD]3[/TD]
[TD]a[/TD]
[TD]a[/TD]
[/TR]
[TR]
[TD]NC[/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]b[/TD]
[/TR]
</TBODY>[/TABLE]
I am in need of some help with a count if type statement but I do not think countif will do what I need and I am not familiar with the VBA coding in excel. Currently I have two different workbooks that are wanting to be combined and can be by adding in one column that differentiates the two but for reporting out I need to be able to seperate the two and still count the values. So i have somethign like this and I need to be able to count the number of A, B, C, D, etc in columns 1-3 but have to seperate them into the two different categories of C and NC - I know a pivot table can show these easily and it would be easy without the categorys using a countif statement but seperating it into the two different categories is where i am getting stuck - any help would be appreciated - thanks
[TABLE="width: 500"]
<TBODY>[TR]
[TD]Category[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]b[/TD]
[TD]4[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]NC[/TD]
[TD]3[/TD]
[TD]a[/TD]
[TD]a[/TD]
[/TR]
[TR]
[TD]NC[/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]b[/TD]
[/TR]
</TBODY>[/TABLE]