Solved

Calculate days from beggining of year

Posted on 2014-01-27
4
205 Views
Last Modified: 2014-01-27
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
Comment
Question by:Seamus2626
  • 2
4 Comments
 
LVL 143

Accepted Solution

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

Expert Comment

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

Open in new window



Thanks
0
 
LVL 8

Assisted Solution

by:itjockey
itjockey earned 250 total points
ID: 39811621
or as per Mr.Guy Hengel,

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

Open in new window


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

Open in new window

0
 

Author Closing Comment

by:Seamus2626
ID: 39811632
Thanks guys
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

860 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