Solved

Excel: formula to determine # to meet goal

Posted on 2016-11-28
5
32 Views
Last Modified: 2016-11-28
Hi Experts,

I have a requirement to provide the amount tickets need to reach a goal (85%).  To get a better understanding I am doing this in excel but will end up being converted to Tableau's custom formula.  I would expect to see a result of 5 as it should be rounded to a whole number.  Any idea how I would go about writing this?

Here are the data inputs:

Vendor	Closed	Total tickets	Current %	Target %	Tickets need to hit Target
Joe's shop	22	31	70.97%	85.00%	?

Open in new window

See attached

Thanks
Tickets-needed.xlsx
0
Comment
Question by:Maliki Hassani
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 41904683
Assuming you mean, "how many existing tickets do I need to close to hit my target", try this:

=MAX(0,ROUNDUP(C2*E2,0)-B2)
1
 
LVL 92

Accepted Solution

by:
Patrick Matthews earned 500 total points
ID: 41904689
Note that what I provide above is an Excel formula. I presume Tableau has similar functions that would allow you to do this
0
 

Author Comment

by:Maliki Hassani
ID: 41904690
Great... That works now let me see if I can code it in Tableau.
0
 

Author Closing Comment

by:Maliki Hassani
ID: 41904692
Thanks
0
 
LVL 8

Expert Comment

by:Mike in IT
ID: 41904699
You will need to use a formula like this:

=ROUNDUP((E2*C2)-B2,0)

Open in new window


I have attached a modified version of your spreadsheet.

For the example that you have in the spreadsheet the ROUND() number would actually be 4 since the result is 4.35. By using ROUNDUP() it will always round up to the next int.
Tickets-needed.xlsx
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question