Does Excel contain a Year to Date Function?

hoff123

Board Regular
Joined
Jul 14, 2004
Messages
88
Good Morning,

I have been trying to create a report which takes into account the number of work actions undertaken in the year to date over the current number of days in the year.

For example i have worked 100 different actions on 28/11/2005, now i want to be able to calculate the average rate of actions per day based on what day it is in 2005 i.e. 100(actions)/300(the number of days that have elapsed in 2005, with 365 being the maximum).


Is this possible? :biggrin:
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

barry houdini

MrExcel MVP
Joined
Mar 23, 2005
Messages
20,825
You can get the number of days so far this year with

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

does that help you at all?
 
Upvote 0

PA HS Teacher

Well-known Member
Joined
Jul 17, 2004
Messages
2,838
To get the number of days elapsed this year. (at least within 1 day)

=Mod(Today(),365.25)

Looks like you want:

#Actions/Mod(Today(),365.25)
 
Upvote 0

hoff123

Board Regular
Joined
Jul 14, 2004
Messages
88
ADVERTISEMENT
Hi,

Thanks for the info really helped. Further to the above i tried modifying the function:

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

To

=TODAY()-DATE(MONTH(TODAY()),1,0)

However this does not give me what i really need :LOL:


Thanks.
 
Upvote 0

hoff123

Board Regular
Joined
Jul 14, 2004
Messages
88
Sorry , hit submit 2 early. What i basically need is the above function by year, and another by month or more specifically the function to find the number of days in current month.


Thanks
 
Upvote 0

Forum statistics

Threads
1,195,625
Messages
6,010,754
Members
441,568
Latest member
abbyabby

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top