Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Calculate days from beggining of year

Posted on 2014-01-27
4
Medium Priority
?
235 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 1000 total points
ID: 39811602
this should do:
= TODAY() - DATE( YEAR(), 1, 1)
0
 
LVL 8

Expert Comment

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

Open in new window



Thanks
0
 
LVL 8

Assisted Solution

by:Naresh Patel
Naresh Patel earned 1000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

971 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