I have a database of about 180,000 rows. My columns are for example, charge#, date of charge, value of charge, department #, among others. The date range is Jan 1 to June 30th.
I have to find the standard deviation for each department, using the net daily billing as my metric. I can create a pivot with dates as columns, departments as row and sum of charges. No problem.
However I need to clean the data so that any date/department combination that nets out to zero becomes a blank when doing the standard deviation. If there are no transactions, I get a blank cell in the pivot but we don't want to include the zero cells in the average and standard deviation.
There are many date/department cells on the pivot showing zero and it is too cumbersome to delete all of the transactions that net to zero.
So the question is how do I clean the data?
I am using Excel 2007 at work.
Thanks for any suggestions
I have to find the standard deviation for each department, using the net daily billing as my metric. I can create a pivot with dates as columns, departments as row and sum of charges. No problem.
However I need to clean the data so that any date/department combination that nets out to zero becomes a blank when doing the standard deviation. If there are no transactions, I get a blank cell in the pivot but we don't want to include the zero cells in the average and standard deviation.
There are many date/department cells on the pivot showing zero and it is too cumbersome to delete all of the transactions that net to zero.
So the question is how do I clean the data?
I am using Excel 2007 at work.
Thanks for any suggestions
Last edited: