+ Reply to Thread
Results 1 to 5 of 5

Returning the number of days, based on the today's function

  1. #1
    Registered User
    Join Date
    04-17-2012
    Location
    mauritius
    MS-Off Ver
    Excel 2007
    Posts
    37

    Returning the number of days, based on the today's function

    Hi
    I am trying to get the number of days in a month based on the date obtained from the today's function.
    For example today is 6/25/2013, I need to return the value 25 in a cell.
    Does someone know how to do this please?
    Thank you,
    newto excel

  2. #2
    Forum Moderator Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Returning the number of days, based on the today's function

    =day(a1) .............
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    04-17-2012
    Location
    mauritius
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Returning the number of days, based on the today's function

    Hi
    I have tried the formulae but it returns as follows:
    Today: 6/25/2013
    Days : #VALUE!

    can you please help me get it right?
    thanks

  4. #4
    Registered User
    Join Date
    04-17-2012
    Location
    mauritius
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Returning the number of days, based on the today's function

    Oh got it!! Many thanks!

  5. #5
    Forum Moderator Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Returning the number of days, based on the today's function

    ........................

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1