rounding off month
If the date is in A2, then =date(year(a2),month(a2)+if(day(a2)15,1,0),1)
will calculate the first day of either this month or next.
HTH. --Bruce
"simha" wrote:
Hi,
I need to calculate depreciation based on months or part thereof.
For eg. if the asset is bought before 15 of May, then May is taken as full
month.
However it the asset is bough on 16th or later during May, then May month is
ignored.
Is there a formula for this?
Thanks in advance for any help
Regards
Simha
|