Calculating how many days past in a month from today

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

Guest

Hi everybody,
Is there any way to calculate days past in a month from the date calculated
by today function?
 
Frederik said:
Perhaps with

=DAY(TODAY())

greetings

That's useful to know. If I wanted to know the number of days remaining in the month (bearing in mind months can be 30, 31, 28 or even 29 days long), how could we do that?
DC

--
 
Hi

For days past (therefore not including today, use
=DAY(TODAY())-1
 
=DATE(YEAR(TODAY()),MONTH(TODAY())+1,0)-TODAY()

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

<Django Cat> wrote in message | Frederik said:
|
| >Perhaps with
| >
| >=DAY(TODAY())
| >
| >greetings
| >>
|
| That's useful to know. If I wanted to know the number of days remaining in the month (bearing in mind months can be 30, 31, 28
or even 29 days long), how could we do that?
| DC
|
| --
|
 

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