formula problem

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Oaktree

MrExcel MVP
Joined
Jun 20, 2002
Messages
8,105
Office Version
  1. 365
Can you give an example (maybe hardcoded) of the results you are expecting?
 

cashmire

New Member
Joined
Mar 26, 2002
Messages
30
Oaktree,

what I am expecting to come out would be the following. After year 5 my initial number of animals 300 would have depreciated to about 272, taking the yearly mortality of 2% into account. So in year 6 these get taken to the slaughterhouse. After year 8 the heifers born in year 1 should be going to the slaughterhouse since they have now been reproducing for 5yrs. in year 9, the animals born in year 2 go to the slaughterhouse and so on...
 

Oaktree

MrExcel MVP
Joined
Jun 20, 2002
Messages
8,105
Office Version
  1. 365
Not too sure, but maybe:

C28 =(C27+F25)-(C22*(1-$C$15)^5)-((C27-(C22*(1-$C$15)^5))*C$15)

C29 =(C28+F26)-(C23*(1-$C$15)^5)-((C28-(C23*(1-$C$15)^5))*C$15)-(F22*(1-$C$15)^7)
 

Forum statistics

Threads
1,181,814
Messages
5,932,204
Members
436,823
Latest member
kailose

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
Top