Share via

Excel Allocation Formula Question

Anonymous
2013-12-09T21:01:21+00:00

I need an allocation formula, but it has to stop allocating at a set amount. We need to allocate time to each project. So for example we have 1000 projects that are classified as small and large. The smalls are allocated .10 (of an hour) and larges are allocated at .25. The total amount of time is 7.8. I have no idea where to start on this one. I found a crummy formula but it doesn't stop allocating at 7.8.

Total Hours: 7.8

A                               B         C

Project Number         Size      Allocated Time

1                             Large       .25

2                             Large       .25

3                             Large       .25

4                             Small       .10

5                              Small       .10

6                              Small       .10

7                              Small       .10

8                              Small       .10

9                              Small       .10

10                            Small       .10

and so on

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

HansV 462.6K Reputation points
2013-12-09T21:38:17+00:00

Let's say you enter the total 7.8 in a cell, say F1.

In C2, enter the formula

=MIN(IF(B2="Large",0.25,IF(B2="Small",0.1,0)),$F$1-SUM(C$1:C1))

and fill down.

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2013-12-09T22:11:36+00:00

    Thank you so much! This is perfect.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments