+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : UDF to Convert Conventional to Julian Date

  1. #1
    Registered User
    Join Date
    08-19-2011
    Location
    New York City
    MS-Off Ver
    Excel 2007
    Posts
    1

    UDF to Convert Conventional to Julian Date

    I could use some help converting a formula into a UDF. In order to convert the current conventional date into the julian date, I've been using the following:

    =TRUNC(+A1-(DATE(YEAR(A1),1,1)-1))

    where A1 is the current date. For example today, 8/19/2011, returns the value 231. my question is, how do I convert this into a UDF which I can use in any spreadsheet.

    I appreciate your help.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: UDF to Convert Conventional to Julian Date

    Try this:
    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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