Solved

Calculate days from beggining of year

Posted on 2014-01-27
4
220 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
[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
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: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 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

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.

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.

Join & Ask a Question