+ Reply to Thread
Results 1 to 5 of 5

Rolling Time Periods

Hybrid View

  1. #1
    Registered User
    Join Date
    06-11-2008
    Posts
    15

    Rolling Time Periods

    I need to find a way to calculate rolling time periods. The time periods I have are a rolling Week and rolling Month.
    I need to count the weekends, but exclude their values within the formula.
    So for the latest rolling week(last 5 business days) the dates I would be using are 2/21, 2/22, 2/25, 2/26, 2/27
    Is there a formula I can use that automatically updates the cells in yellow when a new date and number is entered into the data range
    The formula that I need to use is the =PRODUCT.
    I have attached a workshet with the data I am working with. Thank you in advance for any help.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Exactly what formula are you using to get the results in the yellow highlighted cells? Doesn't seem to be like =PRODUCT(B37:B38,B41:B43)


    rylo

  3. #3
    Registered User
    Join Date
    06-11-2008
    Posts
    15
    Hi Rylo,
    I am using =product(B37:B38,B41:B43)-1

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Try this formula in G3

    =PRODUCT(IF($A1:$A100>=LARGE($A1:$A100,7),IF(B1:B100>0,B1:B100)))-1

    This is an array formula which must be confirmed with CTRL+SHIFT+ENTER so that curly braces appear around the formula in the formula bar.

    Format G3 as % and copy across to I3.

    I presume that G4:I4 can be the same but with 7 changed to 30

  5. #5
    Registered User
    Join Date
    06-11-2008
    Posts
    15
    thanks daddylonglegs. that worked perfectly

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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