Round to nearest month

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all. I need a function that can take a date, no matter what date in that
month, and round to the first of the next month.

So for example if the cell has 1/4/07 I want the result to say 2/1/07
Or 1/1/07 would return 2/1/07

Thanks!

Jp
 
=DATE(YEAR(A1),MONTH(A1)+1,1)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

| Hi all. I need a function that can take a date, no matter what date in that
| month, and round to the first of the next month.
|
| So for example if the cell has 1/4/07 I want the result to say 2/1/07
| Or 1/1/07 would return 2/1/07
|
| Thanks!
|
| Jp
 

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

Back
Top