Solved

Calculate days from beggining of year

Posted on 2014-01-27
220 Views
Hi,

Can someone give me some formula that will calculate how many days from the beggining of the year, something like

today()-01/01/2014

Many thanks
0
Question by:Seamus2626
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• Learn & ask questions
• 2

LVL 143

Accepted Solution

Guy Hengel [angelIII / a3] earned 250 total points
ID: 39811602
this should do:
= TODAY() - DATE( YEAR(), 1, 1)
0

LVL 8

Expert Comment

ID: 39811619
I guess
``````=DATEDIF(DATE(YEAR(TODAY()),1,1),TODAY(),"d")
``````

Thanks
0

LVL 8

Assisted Solution

Naresh Patel earned 250 total points
ID: 39811621
or as per Mr.Guy Hengel,

``````= TODAY() - DATE( YEAR(TODAY()), 1, 1)
``````

Thanks
``````=DATEDIF(DATE(YEAR(TODAY()),1,1),TODAY(),"d")
``````
0

Author Closing Comment

ID: 39811632
Thanks guys
0

Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Suggested Courses
Course of the Month8 days, 18 hours left to enroll

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

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