Hi. The post title might not be too clear, but what I want to do is the following:
I have a Pivot Table which presents for each day, month and year, the daily expenses.
In another column, I have an "Average" field, which presents the daily average expense in the "Month" row, and the monthly average expense in the "Year" row. This is standard.
What I don't want, is excel displaying the average for the days also. I mean, it's ok that the average for the months row should be the daily average, and the average in the year's row should be the monthly average, but it doesn't make sense presenting the "daily" average. It's not useful and I would like it to display the SUM for each day.
This is shown using the following example:
Expenses Day 1: 1000
Expenses Day 1: 2000
Expenses Day 2: 1000
Expenses Day 3: 0
Excel does the following:
Year 1 - Total Expense: 5000 - Average Expense: 1333.
--Month 1 - Total Expense: 5000 - Average Expense: 1333.
----Day 1 - Total Expense: 3000 - Average Expense: 1500.
----Day 2 - Total Expense: 1000 - Average Expense: 1000.
----Day 3 - Total Expense: 1000 - Average Expense: #¡DIV/0!.
The monthtly average is correct, since it sums up every daily expense and averages it. The yearly average is correct as well. The daily average, however, presents two flaws that I want to avoid:
1- It presents #¡DIV/0! when there's 0 expenses, where it should be simply 0.
2- It presents the daily average, which makes mathematical sense but no practical sense at all. I want to change this to a daily sum, a monthly average, and a yearly average. This could be acomplished using the following formula:
= (TOTAL EXPENSES) / (NUMBER OF DAYS)
Instead of *divided by (number of expenses). This solution would give a proper average, and also remove the #¡DIV/0! problem. It would return the simple sum for days, and the average for months. Is it possible to implement this using a calculated field? I tried to retrieve a column for "Number of days" but it just displays "Count of days" (Where Day 1 would have "2")
If this is not possible, I would like to hide the daily averages, and just use the monthly, and yearly. Is this possible?
Thank you very much.
I have a Pivot Table which presents for each day, month and year, the daily expenses.
In another column, I have an "Average" field, which presents the daily average expense in the "Month" row, and the monthly average expense in the "Year" row. This is standard.
What I don't want, is excel displaying the average for the days also. I mean, it's ok that the average for the months row should be the daily average, and the average in the year's row should be the monthly average, but it doesn't make sense presenting the "daily" average. It's not useful and I would like it to display the SUM for each day.
This is shown using the following example:
Expenses Day 1: 1000
Expenses Day 1: 2000
Expenses Day 2: 1000
Expenses Day 3: 0
Excel does the following:
Year 1 - Total Expense: 5000 - Average Expense: 1333.
--Month 1 - Total Expense: 5000 - Average Expense: 1333.
----Day 1 - Total Expense: 3000 - Average Expense: 1500.
----Day 2 - Total Expense: 1000 - Average Expense: 1000.
----Day 3 - Total Expense: 1000 - Average Expense: #¡DIV/0!.
The monthtly average is correct, since it sums up every daily expense and averages it. The yearly average is correct as well. The daily average, however, presents two flaws that I want to avoid:
1- It presents #¡DIV/0! when there's 0 expenses, where it should be simply 0.
2- It presents the daily average, which makes mathematical sense but no practical sense at all. I want to change this to a daily sum, a monthly average, and a yearly average. This could be acomplished using the following formula:
= (TOTAL EXPENSES) / (NUMBER OF DAYS)
Instead of *divided by (number of expenses). This solution would give a proper average, and also remove the #¡DIV/0! problem. It would return the simple sum for days, and the average for months. Is it possible to implement this using a calculated field? I tried to retrieve a column for "Number of days" but it just displays "Count of days" (Where Day 1 would have "2")
If this is not possible, I would like to hide the daily averages, and just use the monthly, and yearly. Is this possible?
Thank you very much.