Capacity division-based thing

pippin

New Member
Joined
Sep 10, 2009
Messages
33
Morning All,

Im having more of a mind block I think on doing this today. I'm calculating simple capacity ie we have

  • 180 hours in a month
  • Hours spent on each prority
Critical 2
High4
Medium6

  • Expected amount per month
Critical10
High30
Medium40

I want an output which would show how many tickets we could work on before running out of time

Critical 10 (ie 2*10 = 20)
High30 (30*4=120 running total 140)
Medium1 (1*40 = 40) running total 180)

Im using a fairly long if statement, and then adjusted down the priorities - there must be a simpler function !?

Thanks in advance, sorry for being slow on a monday morning!
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Do you need a running total or just a total at the bottom?

What is the version of Excel you are using?

For example you could just use a small lookup table:
Book1
ABCDEFGHIJKL
1
2Critical10220Critical10
3High304120High30
4Medium40140Medium40
5180
Sheet1
Cell Formulas
RangeFormula
B2:B4B2=VLOOKUP(A2,$K$2:$L$4,2,0)
D2:D4D2=B2*C2
D5D5=SUM(D2:D4)
 
Upvote 0
Morning,

Excel for Mac, but can run a windows set up.

Probably didn't do a great job of explaining, just taken a screen shot of the example, with nested if statement.

Column I in the formula relates to number of hours expected to be spent at each level.

Current if statement works, but just feels clunky

Screenshot 2023-07-10 at 11.43.06.png
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0

Forum statistics

Threads
1,216,116
Messages
6,128,926
Members
449,479
Latest member
nana abanyin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top