counting rows with certain attributes 01-07-2015d1248

2015-01-07

counting rows with certain attributes 01-07-2015d1248


To count rows or records that have certain attributes, one could use excel with the records in one sheet. Then in a separate sheet one could have the different items to be counted with formulas with conditional statements to decide if certain attributes are present or not for each record in the record sheet. Therefore, this sheet would have many 0s and 1s down the columns to indicate whether a certain record matched the criteria. Then in a third sheet, the columns of the 0s and 1s could be summed to get total counts.
or

Note that I may want to write some Java code to count records with certain attributes in a table since it can take some time to set everything up in Excel. However, I'm not sure if using a Java program would be much faster. . .