+ Reply to Thread
Results 1 to 9 of 9

I need help with my formula for pacing

  1. #1
    Registered User
    Join Date
    03-09-2016
    Location
    Los Angeles
    MS-Off Ver
    2014
    Posts
    15

    I need help with my formula for pacing

    I am trying to create a formula that will provide a running total based on if an ad is running during a specific date. I believe I have the first part correct where I take the total run during the time period stated and divide it by the total number of days during that period.

    I am stuck on creating a formula that says look to see if the date is between the start and end date and if it is ad it to the sum. Someone showed me how to do this with an array formula a long time ago but I cant quite get it to work.
    This is one of my attempts: =IF([@[Start date]]<=[@Date]>=[@[End date]],SUMIF(A:B,[@Date],C:C),0)

    EXCEL FILE: https://drive.google.com/file/d/0ByV...ew?usp=sharing
    Last edited by BryGuy81; 03-09-2016 at 02:52 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: I need help with my formula for pacing

    Hi, welcome to the forum

    Please upload your file to the forum. Not all members are able - or willing - to access file-hosting sites
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: I need help with my formula for pacing

    From the sounds of it, take a look at using countifS()

  4. #4
    Registered User
    Join Date
    03-09-2016
    Location
    Los Angeles
    MS-Off Ver
    2014
    Posts
    15

    Re: I need help with my formula for pacing

    When I click advanced and then the paperclip to upload I get just a small white bar below it. I have tried in Chrome, FF, and IE. Same issue.


    Screenshot.png

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: I need help with my formula for pacing

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.

  6. #6
    Registered User
    Join Date
    03-09-2016
    Location
    Los Angeles
    MS-Off Ver
    2014
    Posts
    15

    Re: I need help with my formula for pacing

    Here is the excel doc.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    03-09-2016
    Location
    Los Angeles
    MS-Off Ver
    2014
    Posts
    15

    Re: I need help with my formula for pacing

    I updated the formula which works perfect, but now it doesnt work unless there is a start/end date range to the left. Even through the date should have an amount its summing, since the formula isn't directly to the side it doesn't work.

    Untitled.jpg

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: I need help with my formula for pacing

    I think this is teh formula you want...
    =SUMIFS($C:$C,$A:$A,">="&Sheet1!$F3,$B:$B,">="&Sheet1!$F3)

    If you only want the total shown once, modify it to this...
    =IF(COUNTIFS($A$1:A1,">="&Sheet1!$F3,$B$1:B1,">="&Sheet1!$F3)>1,"",SUMIFS($C:$C,$A:$A,">="&Sheet1!$F3,$B:$B,">="&Sheet1!$F3))

  9. #9
    Registered User
    Join Date
    03-09-2016
    Location
    Los Angeles
    MS-Off Ver
    2014
    Posts
    15

    Re: I need help with my formula for pacing

    I updated the formula to what looks like it could be close to the solution.

    My issue now is that the units should only be summed for the date range in the first table. Column H where I have the formula always has units increasing or remaining the same, never decreasing. Based on the date ranges in the left table there should be instances where there is a drop in units per day when a date range has culminated.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Budget pacing formula?
    By mikey42979 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-22-2016, 03:04 PM
  2. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  3. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 PM

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