Userguide FAO Ration Tool-English
Userguide FAO Ration Tool-English
Userguide FAO Ration Tool-English
User Guide
Before use, please ensure that your administrator has checked and
validated the file for proper use in your area of work.
(If you are user as well as an administrator, please ensure that you first read
the User guide for administrators and update the FEED DATABASE sheet in
the Excel file)
Quick use:
• Open the file and allow macros;
• Enter or select values in white cells and calculate rations :
1
Detailed user guide:
Excel settings
To use the file, Microsoft Excel has to be installed. Current version of the file has been
optimized for Excel 2016 version and could run improperly on other versions.
The file contains VBA programs, known as « macros ». Please ensure your computer
settings authorize you to open macros or notify you when Excel files contain such
programs. To do so:
The program uses a special add-in of Excel called « Solver ». It needs to be installed:
1. Click on « File » tab
2. Click on « Options »
3. Select « Add-ins »
4. Click « Go…» button
5. Select « Solver Add-in »
6. Validate.
You might also install the Solver program in the VBA section, or check it has been installed
in that section. To do so:
1. Click on « File » tab
2. Click on « Options »
3. Select « Add-ins »
4. Click « Go…» button
5. Select « Analysis ToolPak VBA»
6. Validate.
7. Go to the « Developer » tab
8. Click on the « Visual Basic » button
9. Click on the « Tool » tab
10. Click on « References… »
11. Select « Solver »
12. Validate.
2
Or click on the “Option” button, and enable the content to activate macros or activate the
macros directly if you’re invited to do so. If you don’t activate the macros the program
will not work.
3
User form
After you’ve activated the macros, the file opens and a user form should be displayed.
If you don’t see any user form and only see the Excel file, please contact your administrator
who gave you the file.
Important !
You should only work using the user form, not directly on the Excel file! If in case of error you
access the Excel file, please close the file and re-open it.
4
2. Ration calculation. This tab is used to select ingredients (dropdown list), enter their
prices on fed basis, and set the maximum quantities the farmer can give to his/her cow
per day. If the administrator has already entered the prices in the Feed database sheet,
these will be displayed by default and you might not need to change it. However, if the
prices have changed, you can make the change here. Pay attention not to select the
same ingredient twice. Prices are per kg and quantities are maximum available in kg
per day per cow. Both these parameters are on as-fed basis and NOT dry matter basis.
Nutritional value parameters (under both ‘Needs’ and ‘Intake’; in the right-hand block)
are displayed as-fed basis except NDF, Max intake and concentrate max which are on
DM basis. User has to keep an eye on concentrate and NDF values and make manual
adjustments on ingredients if necessary.
Attention!
Set all prices in the same currency and per kg as fed, or the calculation will be incorrect! The
currency is not defined to allow user to use the currency of one’s choice, but it has to be always
the same.
Maximum quantities available (with the farmer) are entered in kg per day per cow under the
column Max (kg/d). [Note: Please do not leave any box under the column Max (kg/d) blank.
The software might not work properly. There should be some value under this column]
5
Quantities of ingredients (fresh feed in kg per day) can be modified manually (even if
cells are in grey color) and results are displayed automatically (nutritional analysis and
price of the ration).
It is possible to launch the automatic calculation of a least cost optimized ration, by clicking
on the “Calculate ration” button. If an optimal solution has been found, quantities of
ingredient are displayed under the column “Fresh feed intake” and nutritional values
and price are displayed. If no solutions are possible or if the calculation has encounter a
problem, a warning message is displayed. [Notes: 1. If no solutions are possible and a
warning message is displayed. On pressing OK on the warning message, in some cases,
the software gives an approximate solution. Please note that this solution is not the
optimum solution. It is the nearest solution the software has found. In such a situation
you either include another ingredient under the column “Ingredient name” or
manually change the amount of ingredient available in the column "Max (kg/d)"
column in order to maximize the chances to get an optimal solution, and then press the
button: Calculate ration to arrive at the optimum solution. If protein is deficient
(under Intake column) than the needed amount (under Need column], you may have
to either increase manually the amount under the column Fresh feed intake of the
already entered ingredient that is rich in protein or select another protein-rich
ingredient under the column Ingredient name, and then press Calculate ration
button. Same approach could be used for the energy. 2. Intake values appear in red if it
is below requirement or above maximum value].
If you need to add another ingredient that does not appear in the top down menu,
please contact your administrator or refer to the administrator guide.
If you have to deselect an ingredient under the column Ingredient name, select
<empty> from the drop down menu. [As an administrator when you are entering feed
ingredients, their chemical composition, price etc. in the Excel sheet: Feed database,
please do not touch the <Empty> row. Do not replace <Empty> with another feed
ingredient. This row (<Empty>) is vital for deselecting a feed ingredient. Also do not
delete < or > sign which is before and after Empty respectively]
6
3. Milk Income Less Feed Cost (MIFC)
The tab allows user to calculate the incomes of the farmer’s milk production per
day. Only milk return per kg is required, the other values are calculated
automatically from inputs of tabs “Cow data” and “Ration calculation”.
7
4. Acknowledgment
The team and people who have participated to make this program are presented
here.
Contact at FAO:
E-mail: [email protected]