+ Reply to Thread
Results 1 to 11 of 11

Return today's value - data source pushes daily cumulative total!

  1. #1
    Registered User
    Join Date
    06-04-2013
    Location
    Colchester, England
    MS-Off Ver
    Excel 2007
    Posts
    21

    Return today's value - data source pushes daily cumulative total!

    Hi all

    I have a tricky situation that has stumped me.

    XXXX

    'Campaign Stats' = data pushed from DotDigital email marketing platform, appending a row for each day of activity for each campaign. The final column is a 'Lookup' for Vlookups. Please don't manipulate the data in this sheet
    'DD Daily' = This is the sheet we're working on
    'DD Running' = This simply shows us the data in 'Campaign Stats' resorted to match the order in 'DD Daily'

    The objective - As you can see, the data from DotDigital is provided as a cumulative campaign total for each day (note that the first day for each campaign will be a much bigger increment than following days, that is expected). What we actually want is the total for each individual day's activity. You can see in columns F to H that I've got tried If but realised that this will only substract the proceeding day - what we actually want to do is substract the earliest day if the row is not itself the earlier day for that campaign. I suspect MIN might be part of the answer, but I can't figure out how.

    A solution would be fantastic!!!!
    Last edited by Tacalabala; 08-16-2021 at 10:36 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,882

    Re: Return today's value - data source pushes daily cumulative total!

    Instead of directing us to a third part location, please read the yellow banner at the top on how to upload a file to this forum location.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    06-04-2013
    Location
    Colchester, England
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Return today's value - data source pushes daily cumulative total!

    My apologies - file now attached

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,882

    Re: Return today's value - data source pushes daily cumulative total!

    Your file appears to be corrupted. Cannot open it.

  5. #5
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: Return today's value - data source pushes daily cumulative total!

    is this a google sheets topic or an excel topic?

    im asking because the google sheets works without issue.

    it wont work in excel because of the way the data is pulled.

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,882

    Re: Return today's value - data source pushes daily cumulative total!

    Didn't realize it was a Google Sheets issue. I don't work in that environment. Good Luck with your project.

  7. #7
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: Return today's value - data source pushes daily cumulative total!

    Tacalabala, can you please return the link to the google sheets link you posted earlier.

    it is necessary because it is a google sheets issue and an excel file wont help to solve the issue.

  8. #8
    Registered User
    Join Date
    06-04-2013
    Location
    Colchester, England
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Return today's value - data source pushes daily cumulative total!

    No problem - Google Sheet link is now in the OP

  9. #9
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: Return today's value - data source pushes daily cumulative total!

    on sheet DD Daily, in cell F2, change the reference from "-F1" to "-G1", like this:

    Please Login or Register  to view this content.
    then drag down to other cells.

    also, i would recommend you rename DD Daily column G, because it is not the data from Campaign Stats column G.
    Last edited by janmorris; 08-16-2021 at 08:29 AM.

  10. #10
    Registered User
    Join Date
    06-04-2013
    Location
    Colchester, England
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Return today's value - data source pushes daily cumulative total!

    I don't think I've explained this very well. Anything in column F to I are my attempts/investigation of ways to get this to work, but I want the solution formula to be not require any additional rows.

    See campaign '20210528-fun_ing-conversions-vaccine_research-coral-fem_in_orange' - the running cumulative total for 'numUniqueOpens' is in ascending date order, which you can find in 'DD Running' which effective just retrieved what's in 'Campaign stats' and resorts:

    18507
    18507
    18509
    18510
    18511

    What I actually want to see as follows:

    18507
    0
    2
    1
    1

    Does this make sense?

  11. #11
    Registered User
    Join Date
    06-04-2013
    Location
    Colchester, England
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Return today's value - data source pushes daily cumulative total!

    Solved, it was starring at me the whole time substract the above cumulative IF it matches same campaign from current row

+ 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. Return A cumulative Percentage value based on Today's date referencing a start and end dat
    By AbdulkareemAlhassni in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-16-2018, 05:49 PM
  2. [SOLVED] Array formula to return all steps of cumulative / running total
    By Stormin' in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 04-03-2018, 05:18 AM
  3. Formula for calculating daily total pay when Cumulative hours go over 40
    By dasboot71 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-22-2017, 07:50 AM
  4. Formula for calculating daily total pay when Cumulative hours go over 40
    By dasboot71 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-22-2017, 02:10 AM
  5. [SOLVED] Converting daily data into weekly and making the weekly number a cumulative return
    By Duchess1 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-28-2015, 10:23 AM
  6. Replies: 4
    Last Post: 09-05-2012, 05:25 AM
  7. Adding daily run hours to cumulative total hours
    By Rodstew in forum Excel General
    Replies: 8
    Last Post: 08-08-2012, 07:10 PM

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