Counting using raitios and combining Remainders

Shadowgaze

New Member
Joined
Oct 13, 2015
Messages
5
I love excel and use it for all my business needs ive recently made a very large workbook with many calculations and they all work the way i want. save for one section! i for the life of me cannot get this to calculate correctly. please help me!

here is what i am attempting
i need to count children at my daycare and then use 4 different ratios to figure out how many teachers i need to have in attendance normally this would be simple except if the ratio is not a whole number you need to combine kids from a lower ratio to a higher ratio and the higher ratio must now take on the ratio of the lower ratio kids

IE the ratio for infants is 4 to 1 and toddlers is 6 to 1..... if i have 6 infants and 5 toddlers .... 2 of the toddlers need to be counted as infants to get the infants to a whole number and the remainder of toddlers can be counted at the toddler raitio
so
4 infants = 1 teacher
2 infants + 2 Toddlers = 1 Teacher
3 remaining Toddlers = 1 Teacher


img host

sometimes the calculations are right but they are NOT all the time and its causing allot of unessential problems at work :(
i know its probably something easy but i cannot figure it out please help!
 
Interesting problem.

Row\Col
A​
B​
C​
D​
E​
F​
G​
H​
1​
Initial
Initial
Final
Final
``
2​
K/T
Kids
Teachers
Kids
Teachers
3​
Infant
4​
5​
2
8
2
B3:B6: Input
4​
Toddler
6​
8​
2
6
1
C3:C6: Input
5​
Preschool
10​
3​
1
7
1
D3: =CEILING(C3/$B3, 1)
6​
School
12​
5​
1
0
0
E3: =MIN($C$9 - SUM(E$2:E2), CEILING(SUM(C$3:C3) - SUM(E$2:E2), B3))
7​
F3: =CEILING(E3/$B3, 1)
8​
9​
21
6
21
4
 
Upvote 0

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
if you choose to use a table like mine, all you need is (for 4 toddlers and 7 infants)

=offset ($d$9,match(4,$d$10:$d$21,0),match(7,$e$9:$p$9,0))

clearly the 4 and the 7 can be cell references

D9 is the cell just above 1 toddler
 
Upvote 0
infants789997777777777
toddlers88910118888888888
infant equiv12.313.315.015.716.312.312.312.312.312.312.312.312.312.312.3
teachers444454444444444
spare teacher capacity0.90.70.30.10.90.90.90.90.90.90.90.90.90.90.9
staffing statusunder by 1over by 1correctcorrectover by 1under by 1under by 1correctcorrectcorrectunder by 2correctcorrectcorrectunder by 1
MonTueWedThuFriMonTueWedThuFriMonTueWedThuFri
06/04/201507/04/201508/04/201509/04/201510/04/201513/04/201514/04/201515/04/201516/04/201517/04/201520/04/201521/04/201522/04/201523/04/201524/04/2015
teacher1111111
teacher2111
teacher3
teacher41111111111111
teacher5111
teacher611111111111
teacher7
teacher8111111111111
teacher9111
teacher1011111
teacher usage since April 6th, 2015
teacher16
teacher23
teacher30
teacher413
teacher53
teacher611
teacher70
teacher812
teacher93
teacher105
here is another idea - a system to tell you how many teachers you need
and how many you currently have deployed
you could highlight teacher shortages in red by using conditional formatting
and you can see your surplus capacity to aid decision making
the lower table tells you how many days each teacher has worked

<colgroup><col><col><col><col span="2"><col><col><col><col><col><col span="4"><col><col><col span="5"></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,241
Messages
6,123,824
Members
449,127
Latest member
Cyko

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