+ Reply to Thread
Results 1 to 3 of 3

Need Help With Formula To Calculate Number Of Days

  1. #1
    Registered User
    Join Date
    12-20-2004
    Posts
    88

    Need Help With Formula To Calculate Number Of Days

    I'm trying to find a formula to give the number of days from January 1 to the day before the date inserted in a cell.

    Example: date inserted in cell, 3/31/05
    total number of days would be 89 (day before)

    Any ideas?

    Thank you Richardeye and Duane.

    Is there a way to make the formula change the year automatically based on the year in the date instead of a manual change?

    Example: if the date was 3/31/06 (C1), change the formula automaticaly from

    =C1-DATE(2005,1,1)
    To read

    =C1-DATE(2006,1,1)

    C1= DATE CELL
    Last edited by travelersway; 01-20-2005 at 10:16 AM.

  2. #2
    Forum Contributor
    Join Date
    09-05-2004
    Location
    Melbourne
    Posts
    193
    try

    =CellWithDate-DATE(2005,1,1)

    Cheers!

  3. #3
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851
    =a1-DATEVALUE("1/1/05")

    with a1 being the cell with your date in it
    not a professional, just trying to assist.....

+ 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