Calculating % complete in Excel Part 1

I'm trying to calculate percentage complete, this is one of many percent completes but I will break out my questions to give out the points in fairness.

Step 1:
If column F is "Closed" then on column L = 100%
But if it is "Open" on column F then the calculation should be Column K divided by Column J at column L= 69%

Side Note:  The data  is linked to an access database so it refreshes everyday

See attachment
C--Users-lfreund-Downloads-PERCENT-.xlsx
LUIS FREUNDAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
in column L, try:

=IF(F2="Closed",100%,K2/J2)

Open in new window


if that column was pulled from database, it would be easier if you can apply that formula into your SQL query.
0
LUIS FREUNDAuthor Commented:
Thanks Ryan,

One thing I failed to mention....if the qty orderd is for example 182 and the qty open is 182 then technically that is 0% because it's still open.  If both column J and Column K is the same then it should be 0%

But the formula works great when when its Closed in column F
0
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
if i understand you correctly, try this instead:
=IF(F2="Closed",100%,IF(K2=J2, 0%, K2/J2))

Open in new window

0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

LUIS FREUNDAuthor Commented:
My deep apologies....it's working great...and my fault for not being concise.  If column J is for example 100 and column K is 10 then it should be 90%.  Column k is the difference of J.
0
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
If column J is for example 100 and column K is 10 then it should be 90%.  Column k is the difference of J.

this?
=IF(F2="Closed",100%,IF(K2=J2, 0%, (J2-K2)/J2))
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LUIS FREUNDAuthor Commented:
PERFECT!   Sorry about the confusion.  now off to step 2.  Many Thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Office

From novice to tech pro — start learning today.