+ Reply to Thread
Results 1 to 5 of 5

Dynamically calculate days that have passed in a month

  1. #1
    Registered User
    Join Date
    10-24-2012
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007
    Posts
    3

    Question Dynamically calculate days that have passed in a month

    This may be a basic question for some of you, but here goes... I need to calculate average activity by day but change the number dynamically as days pass within a month. Cell a1 has a monthly cumulative activity value, cell b1 would have the formula to calculate the daily average activity.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Dynamically calculate days that have passed in a month

    Well, since a month starts on day 1 and increments, couldn't you simply divide the A1 value by today's DAY value?

    =A1/DAY(TODAY())
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    10-24-2012
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Dynamically calculate days that have passed in a month

    Thanks, but to put a wrinkle in that formula, today I have to calculate on yesterdays activity. Can I do today-1?

  4. #4
    Registered User
    Join Date
    10-24-2012
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Dynamically calculate days that have passed in a month

    Thanks for getting me in the right direction so quickly. I figured it out!

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Dynamically calculate days that have passed in a month

    Good job. I have marked this thread solved for you.
    In the future please select Thread Tools from the menu above and mark the thread as solved. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1