• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Any ideas as to why this calculated field won't work in my Excel pivot

LJacobs

New Member
In this pivot, I'm trying to calculate a "Avg by Week by Month" result. The challenge has been some months have 4 weeks & other have 5. I thought this formula would work >> =IF(WeeksInMonth=5, SUM(Counter)/5, SUM(Counter)/4). Unfortunately, Excel is miscalculating where WeeksInMonth = 5. I'm not committed to using this method, but my report has to be displayed as a pivot. Any assistance would be very much appreciated! Thanks!
 

Attachments

  • ExampleFile.xlsx
    50.4 KB · Views: 2
Back
Top