0

Sum Archived Quotes By Lost Opportunity Number

Hi,
I am trying to obtain a value for 'lost' quotes per salesperson. What I am trying to achive is a sum of the last version of quotes, that have an opportunity number where the status is 'lost', and I am trying to do this for a specific salesperson, per month. I am gettin close but my result is double what it should be. I.e. Quote 'A - version 1' has a value of £500, Quote 'A - version 2' has a value of £550, the total I am getting is £1050, when I want £550.

I have tried many different approaches to this, all of which have not given me the correct answer. I have tried creating seperate NL("Filter") and referencing them in an NL("Sum") formula, and I have also tried nested NL("AllUnique") functions within a seperate NL("Sum") formula. I am now currently trying to use "Link=", but it is still not giving me the correct value, although I rarely use the "Link=" function and so am not too familiar with it.

I am none too sure what the best approach here is, so I don't think it is worth showing what I have come up with so far!!! However in essence it is along the lines of:
Sum sales line archive line amount (or amount), where the No. of archived versions = the version no. when linked to the sales header archive, and the opportunity no. = no. when the sales header archive is linked to the opportunity. The opportunity is filtered by;
("Sales Document No.","<>''","Salesperson Code",$D$7,"Status","Lost","Creation Date",D$12)

Does anyone have any suggestions on what is the best approach to overcome this issue? I have looked accross this forum for sometime and found a few examples that I thought may have helped, however in trying to tailor them to my specific needs they have been unsuccessful.

Any help would be greatly appreciated
Regards
Ben

4 comments

Please sign in to leave a comment.