Distribute values in excel based on weight Inversely

mojtabapordel

New Member
Joined
Jan 11, 2024
Messages
2
Office Version
  1. 2021
Platform
  1. Windows
We have 28 lecturers, each of whom has several units of study during the semester.
At the end of the semester, to take care of the exams, these lecturers must cooperate.
We have a total of 86 care sections. We want to assign a number of care sections to each lecturer based on the number of units he has during the semester, so that the lecturer who has the most units will have the least care section and vice versa, the lecturer who has the least number of units will have the most care sections.
How to do this in Excel?
 

Attachments

  • excel.jpg
    excel.jpg
    78.3 KB · Views: 11

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Will something like this work?

Book1
CDEFG
112
290.686245.4
3LecturerUnitsSections
4Lecturer 11200
5Lecturer 2110.3504482481
6Lecturer 391.0513447433
7Lecturer 481.4017929914
8Lecturer 581.4017929914
9Lecturer 671.7522412395
10Lecturer 771.7522412395
11Lecturer 862.1026894876
12Lecturer 952.4531377347
13Lecturer 1033.154034239
14Lecturer 1133.154034239
15Lecturer 1223.50448247810
16Lecturer 1323.50448247810
17Lecturer 1423.50448247810
18Lecturer 1523.50448247810
19Lecturer 1623.50448247810
20Lecturer 1713.85493072511
21Lecturer 180.63.99511002411.4
22Lecturer 1904.20537897312
23Lecturer 2004.20537897312
24Lecturer 2104.20537897312
25Lecturer 2204.20537897312
26Lecturer 2304.20537897312
27Lecturer 2404.20537897312
28Lecturer 2504.20537897312
29Lecturer 2604.20537897312
30Lecturer 2704.20537897312
31Lecturer 2804.20537897312
Sheet1
Cell Formulas
RangeFormula
D1D1=MAX(D4:D31)
D2,G2D2=SUM(D4:D31)
E4:E31E4=G4/$G$2*$E$2
G4:G31G4=$D$1-D4


1704995359353.png


Are units of study and care sections of the same units? Like counted both in hours or something?
 
Upvote 0
Or are you looking for something more like this?:

1704995890500.png


Should the units/sections be a rounded number? or can they be a fraction?
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,123
Members
451,399
Latest member
alchavar

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