#1   Report Post  
Posted to microsoft.public.excel.newusers
Rao Ratan Singh
 
Posts: n/a
Default Date Sum

I m using this function for Date sum =DATE (YEAR (B10), MONTH (B10) +1, 31).
This function calculates Days which we specify in this function. Is there any
way that days of particular month automatically detect last day of the month?

1/1/2006
1/2/2006
Its sum should be = 3/31/2006

Thanks and Regard

RRS
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Norman Jones
 
Posts: n/a
Default Date Sum

Hi Rao,

Try:

=DATE(YEAR(B10),MONTH(B10)+1,0)


---
Regards,
Norman



"Rao Ratan Singh" wrote in message
...
I m using this function for Date sum =DATE (YEAR (B10), MONTH (B10) +1,
31).
This function calculates Days which we specify in this function. Is there
any
way that days of particular month automatically detect last day of the
month?

1/1/2006
1/2/2006
Its sum should be = 3/31/2006

Thanks and Regard

RRS



  #3   Report Post  
Posted to microsoft.public.excel.newusers
JE McGimpsey
 
Posts: n/a
Default Date Sum

Not sure what you're doing with the summing of dates, but one way to
get the last day of the month:

=DATE(YEAR(B10),MONTH(B10)+2,0)

In XL's reckoning, the zeroth day of the month is the last day of the
previous month.


In article ,
Rao Ratan Singh wrote:

I m using this function for Date sum =DATE (YEAR (B10), MONTH (B10) +1, 31).
This function calculates Days which we specify in this function. Is there any
way that days of particular month automatically detect last day of the month?

1/1/2006
1/2/2006
Its sum should be = 3/31/2006

Thanks and Regard

RRS

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
Insert Automatic, Non-Updating Date Stamp Ken Zenachon Excel Discussion (Misc queries) 8 January 18th 06 06:52 PM
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
Adding XY days to date in cells satucha Excel Discussion (Misc queries) 1 November 25th 05 08:02 AM
Another Date issue. TimM Excel Worksheet Functions 1 November 17th 05 01:58 AM
Date Math Problem Dkline Excel Worksheet Functions 4 March 4th 05 04:11 PM


All times are GMT +1. The time now is 01:42 AM.

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"