+ Reply to Thread
Results 1 to 3 of 3

Formula Alteration Help

  1. #1
    Registered User
    Join Date
    07-26-2011
    Location
    MA
    MS-Off Ver
    Excel 2007
    Posts
    19

    Formula Alteration Help

    Hey all,

    I was wondering if anyone could help me with my quandary. I need to change part of a formula to adjust an average based on how many days we are into a month.

    So the formula I am currently using is this: =(IF(COUNTA(I26)>0,((I26*(29/28))-I8)/I8,"")) .

    The (29/28), in bold, is the part that I am trying to automatically change. The Numerator (29), is the total number of days in the month. The Denominator (28), is how many days we have revenue for (one day less than the current day of the month).

    From a high level, I am determining, from this formula, the variation of revenue numbers given how many days we are into the month.

    That is, we have revenue projections for the whole month. But every few days, I tally up the revenue up to the current date. I need to see how much variance there is, given the number of days we are into the month.

    Thank you in advance!
    Last edited by hockey99; 02-29-2012 at 01:13 PM. Reason: SOLVED

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Formula Alteration Help

    Hi,

    For the numerator substitute
    =DAY(EOMONTH(NOW(),0))

    and for the denominator

    =DAY(NOW()-1)

    Regards
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    07-26-2011
    Location
    MA
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: Formula Alteration Help

    Richard,

    Thank you for the help. Your solution worked!

    Best

+ 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