Solved

Excel: formula to determine # to meet goal

Posted on 2016-11-28
5
11 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
  • 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 3

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

A2 = A1 That kind of cell reference is relative.  If you copy it from A2 to B2, then B2 will get this: B2 = B1 That's all fine and good, but if you then insert a new row above row 2, you'll find: A3 = A1 B3 = B1 This is intentional. …
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now