+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    Forum Guru
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    5,027

    Re: Add calculated item to pivot table

    Hi

    Try the formulas below, and do a really good test of the result. I think it is OK. I've done it from the start of the data to make sure it has enough data to do a full test.

    You will have to expand the range, but that can be worked on later.

    N2: =VLOOKUP(B2,'Com Target'!$A$2:$C$7,3,FALSE)
    O2: =IF(AND(K2>N2,OR(B2="leanne",B2="Gemma S",B2="Bev",B2="Aimee"),SUMPRODUCT(--($B$2:B2=B2),--($E$2:E2=E2),--($G$2:G2=G2))=SUMPRODUCT(--($B$2:$B$500=B2),--($E$2:$E$500=E2),--($G$2:$G$500=G2))),M2+10,M2)
    Copy down.

    This should find the last instance of the successful commission payment for the person, and add the bonus.


    rylo

  2. #17
    Forum Contributor
    Join Date
    12-27-2007
    Posts
    104

    Re: Add calculated item to pivot table

    Thanks Rylo

    That worked a treat - put it through it's paces last night - no problems - so all solved now.

    Thanks for your time and patience.

    Tony

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.2.0