Date Sum

R

Rao Ratan Singh

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
 
J

JE McGimpsey

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.
 

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

Top