Percentage of month passed formula

M

Mary128

I have a dashboard with the estimated monthly budgets for Q2/14. Every week, the dashboard is updated with month to date costs and the cost variance is high because the estimated monthly budget is calculating for the whole month of April, May, June (no matter what day of the month it is currently).

I need a formula to calculate the percentage of the month passed within that given month (and not to exceed the month).

For example, since today is the 5th of May, 16% of the month has passed. IfI had a monthly budget of $1M, then my estimated monthly budget should be $161K on this day.

Also, now that April has passed, it shouldn't exceed 100%

Thanks in advance!
 
R

Ron Rosenfeld

I have a dashboard with the estimated monthly budgets for Q2/14. Every week, the dashboard is updated with month to date costs and the cost variance is high because the estimated monthly budget is calculating for the whole month of April, May, June (no matter what day of the month it is currently).

I need a formula to calculate the percentage of the month passed within that given month (and not to exceed the month).

For example, since today is the 5th of May, 16% of the month has passed. If I had a monthly budget of $1M, then my estimated monthly budget should be $161K on this day.

Also, now that April has passed, it shouldn't exceed 100%

Thanks in advance!

With some date in A1, the percentage of the month would be:

=DAY(A1)/DAY(EOMONTH(A1,0))

If you need to be concerned about "today", merely replace A1 with TODAY()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top