how to get the day of the year ?

Posted on 2012-09-17
Last Modified: 2012-10-04
i need to get the day number within the selected date column, how can i accomplish this.
"the formula"

Question by:Rawasi
    LVL 11

    Expert Comment

    Hi Rawasi,

    Did you intend to put this in the MS SharePoint topic area, or do you want an Excel solution, or what?
    LVL 10

    Accepted Solution

    In Excel, you can use this formula: =A1-DATE(YEAR(A1),1,0)   (where A1 is the cell containing your date; change as needed).

    If you're talking about displaying in an (Outlook) calendar, there isn't a built-in method, but you can create your own via scheduling.  See the following link for instruction:

    Calendar - Day of Year

    It addresses how to create a countdown, but you could easily modify to be a count-up.
    LVL 1

    Author Comment

    I've requested that this question be deleted for the following reason:

    no answer
    LVL 11

    Expert Comment

    Hi Rawasi,

    I object to this question being deleted with your reason "no answer", because:

    1. Mark gave you an answer, and he used his time to do that.  If it was not useful to you, then you should tell him why not, so he/others have a chance to give you a useful answer.

    2. You didn't answer my question.  We can't be expected to help you if you don't confirm what environment you're working in.  We could waste a lot of time going down the wrong track if you don't give us helpful feedback.

    3. Closing questions like this is open to abuse, because for all we know, you could have used Mark's answer or something derived from it.  If you now have an answer which is not derived from Mark's, what is it?


    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (…
    SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now