Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Bob Phillips
 
Posts: n/a
Default rounding off month

=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)


"simha" wrote in message
...
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




  #2   Report Post  
bpeltzer
 
Posts: n/a
Default 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



  #3   Report Post  
William Horton
 
Posts: n/a
Default rounding off month

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

"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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Working days left in the month compared to previous months qwopzxnm Excel Worksheet Functions 8 October 24th 05 08:00 PM
formula: First and last day in month Zbigniew Lewandowski Excel Worksheet Functions 6 October 16th 05 04:51 AM
Month Year Date Format Jamie Excel Worksheet Functions 2 February 7th 05 06:43 PM
Accounting Month vs. Calendar Month JN Excel Worksheet Functions 4 January 31st 05 08:09 PM
How to extract month number from month name PM Excel Discussion (Misc queries) 2 January 19th 05 03:07 PM


All times are GMT +1. The time now is 05:59 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"