Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help finding the inverse of a %

Status
Not open for further replies.

jeffm777

IS-IT--Management
Nov 10, 2009
108
US
I have a formula that gives me a %:

if Sum ({@# In-Stock Requests}, {@Month}) = 0 then 0 else
Sum ({SalespersonPerformance.NumOfRegSales}, {@Month}) / Sum ({@# In-Stock Requests}, {@Month}) *100

If # of in-stock requests = 4073 and the # of regular sales = 750, this gives me a % of 18.41. However, I need to see a lost sales % so that would be the inverse of 18.41 (81.59%).

Does anyone know of a formula I can use to get this?

Thanks!!!
 
Nevermind. I answered my own question.

Instead of...

if Sum ({@# In-Stock Requests}, {@Month}) = 0 then 0 else
Sum ({SalespersonPerformance.NumOfRegSales}, {@Month}) / Sum ({@# In-Stock Requests}, {@Month}) *100

I used...

if Sum ({@# In-Stock Requests}, {@Month}) = 0 then 0 else
100 - Sum ({SalespersonPerformance.NumOfRegSales}, {@Month}) / Sum ({@# In-Stock Requests}, {@Month}) *100



 



It's just 1 minus [the value you just calculated].

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top