+ Reply to Thread
Results 1 to 1 of 1

Macro to Count if MAX

  1. #1
    Forum Contributor
    Join Date
    11-20-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007, Excel 2003, Excel 2010
    Posts
    284

    Macro to Count if MAX

    Hello: Is there a way to add a field in a pivot table that will count another Pivot field if it is the max otherwise display a 0? I have attached the sample snapshot of the pivot that I am trying to achieve. I am basically trying to add the field in yellow. So, if percent time is the max for the respective JOB #, then display a 1 in the number of jobs field, and if it is not the max, then display a 0. Is there a way to achieve this? I have been trying for over a day with no luck. Any help would be appreciated.

    If this is not possible in a pivot format, then is there a macro that could achieve the same thing with the actual data?

    Thanks for the help.
    Attached Files Attached Files
    Last edited by rlsublime; 12-10-2011 at 01:04 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1