Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
how to dynamically calculate in a variable , number of days between year start date and month of Month(today())-2..
Since we are in July the end date should be taken as April 30 2015..
=DayNumberOfYear(MonthEnd(AddMonths(Today(),-2)))
Don't understand your questions Vinay. How many days from Year beginning to what date?
i need number of days between 01-01-2015 ( start date) and 05-31-2015 (end date)... this May 31 st date should be taken dynamically. like our current date is 07-15-2015, using this today's date it has to substaract 2 months and then take end date.. So now my number of days should be 151..let me know if you need more clarifincation
=DayNumberOfYear(MonthEnd(AddMonths(Today(),-3)))
=DayNumberOfYear(MonthEnd(AddMonths(Today(),-2)))
Thank you Marco
Thank you Sunny for trying that
You're welcome.
regards
Marco
i find this community really helpful .. helping each other..