Basically I have 2 columns the first column has years in it & the second has random letters.
Now, going down the 1st column it reads: 2007,2007,2007,2007,2007,2008,2008,2008,2009,2009,2009,2009
And going down the Second Column it reads:
A,B,A,B,B,B,A,B,A,A,A,B
Note: This is just a segment of the data table.
What i need is formula that will answer the following question, when a applied to the ranges in column 1 & 2.
Question: In 2009 'A' Occurred...(FORMULA IN HERE) Times.
Question: In 2009 'B' Occurred... (Formula Here) Times.
I've tried everything - COUNTIF & SUMPRODUCT. I also have Excell 2003. Please help me this is driving me insane!
Software/Hardware used:
ASKED:
May 13, 2009 6:59 AM
UPDATED:
May 13, 2009 10:01 PM
Unless I am missing something – this is a classic case of using Pivot Table.
I used your data in Excel 2007 & got this type of result.
Row Labels A B Grand Total
2007 2 3 5
2008 1 2 3
2009 3 1 4
Grand Total 6 6 12
Is this what you have in mind? You may just read up on Pivot Table. By the way, Pivot table handles large files. I noticed that the columns did not line up properly when I copied & pasted Excel data. There are 4 columns – Year, A, B, and Grand Total