rounding off month

  • Thread starter Thread starter simha
  • Start date Start date
S

simha

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
 
=IF(DAY(A1)<16,1,0)

will return 1 if the day of the date in A1 is 15 or less.

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
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
 
You could use the following formula to determine if the day of the month is
before or after the 15th.

=IF(DAY(E16)>15,">15","<=15")

You can substitute whatever calculations you want in place of ">15" and
"<=15" to do the depreciation calculations that you need.

Hope this helps.

Bill Horton
 
You can try the following formula to determine if the date is before or after
the 15th.

=IF(DAY(E16)>15,">15","<=15")

You can substitute calculations in place of ">15" and "<=15" for how you
want to calculate the depreciation now that you know whether the date is
before or after the 15th.

Hope this is a start.

Bill Horton
 
Thank you all who have responded.
I have the formula I need.

Thanks once again
Simha
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top