Home

Excel Formula with date

%3CLINGO-SUB%20id%3D%22lingo-sub-747340%22%20slang%3D%22en-US%22%3EExcel%20Formula%20with%20date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-747340%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20trying%20to%20sum%20a%20series%20of%20data%20based%20on%20all%20totals%20from%20each%20week.%20In%20column%20G%20I%20have%20a%20list%20of%20quote%20totals%2C%20dollar%20amounts%2C%20In%20column%20I%20there%20is%20the%20%22week%20of%22%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20914px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F122928iBD082C1F8BBB579F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Annotation%202019-07-10%20083821.png%22%20title%3D%22Annotation%202019-07-10%20083821.png%22%20%2F%3E%3C%2FSPAN%3Edate%20when%20the%20quote%20was%20given.%20Column%20I%20will%20have%20several%20with%20the%20same%20date%20and%20will%20only%20have%20date%20increments%20of%207%20days.%26nbsp%3B%20This%20report%20is%20updated%20weekly%2C%20the%20dates%20will%20always%20be%207%20days%20apart.%20I%20have%20a%20formula%20that%20will%20sum%20on%20the%20first%20date%20and%20then%20the%20next%20to%20add%207%20days%20then%20add%2014%20days%20then%2021%20days.....%20Can%20I%20tell%20Excel%20to%20automatically%20keep%20adding%207%20days%20to%20the%20new%20formula%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-747340%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-747511%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20Formula%20with%20date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-747511%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F374074%22%20target%3D%22_blank%22%3E%40Katelyn555%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20have%20slightly%20modified%20the%20file%2C%20hope%20it%20will%20serve%20the%20purpose.%3C%2FP%3E%3CP%3EPlease%20see%20the%20attached%20file.%3C%2FP%3E%3CP%3EThanks%2C%20Tauqeer%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-748116%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20Formula%20with%20date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-748116%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F239215%22%20target%3D%22_blank%22%3E%40tauqeeracma%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGreat%20idea%2C%20but%20I%20think%20it%20would%20be%20better%20to%20use%20%3DWEEKNUM(I5)%20rather%20than%20DAY(I5)%3C%2FP%3E%3CP%3EThe%20DAY%20will%20get%20repeated%20in%20other%20months%26nbsp%3B%20e.g%2001%20Jan%202019%20and%2001%20Oct%202019%2C%20whereas%20Weeknum%20will%20not%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-748874%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20Formula%20with%20date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-748874%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F200080%22%20target%3D%22_blank%22%3E%40Roger%20Govier%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAnd%20week%20number%20is%20repeating%20every%20year.%20Why%20don't%20SUMIF%20based%20on%20date%3F%3C%2FP%3E%0A%3CPRE%3E%3DSUMIF(%24I%245%3A%24I%2414%2CI5%2C%24K%245%3A%24K%2414)%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-749767%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20Formula%20with%20date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-749767%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20are%20quite%20right%20Sergei.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20reality%2C%20I%20would%20never%20choose%20to%20see%20my%20weekly%20totals%20within%20the%20same%20table%20as%20the%20source%20data%2C%20and%20have%20it%20repeated%20over%20several%20lines.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20prefer%20to%20create%20a%20simple%20Pivot%20Table%20based%20upon%20the%20OP's%20source%20data%2C%20and%20just%20add%20Date%20as%20the%20Row%20field%20and%20Sum%20of%20Total%20Quotes%20as%20the%20Data%20field.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-749813%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20Formula%20with%20date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-749813%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F200080%22%20target%3D%22_blank%22%3E%40Roger%20Govier%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYes%20Roger%2C%20it's%20always%20better%20not%20to%20repeat%20same%20information%20and%20separate%20reporting%20from%20source%20data%3C%2FP%3E%3C%2FLINGO-BODY%3E
Katelyn555
Occasional Visitor

I am trying to sum a series of data based on all totals from each week. In column G I have a list of quote totals, dollar amounts, In column I there is the "week of"Annotation 2019-07-10 083821.png date when the quote was given. Column I will have several with the same date and will only have date increments of 7 days.  This report is updated weekly, the dates will always be 7 days apart. I have a formula that will sum on the first date and then the next to add 7 days then add 14 days then 21 days..... Can I tell Excel to automatically keep adding 7 days to the new formula? 

5 Replies

@Katelyn555 

Hi,

I have slightly modified the file, hope it will serve the purpose.

Please see the attached file.

Thanks, Tauqeer

@tauqeeracma 

 

Great idea, but I think it would be better to use =WEEKNUM(I5) rather than DAY(I5)

The DAY will get repeated in other months  e.g 01 Jan 2019 and 01 Oct 2019, whereas Weeknum will not

@Roger Govier 

And week number is repeating every year. Why don't SUMIF based on date?

=SUMIF($I$5:$I$14,I5,$K$5:$K$14)

 

@Sergei Baklan 

You are quite right Sergei.

 

In reality, I would never choose to see my weekly totals within the same table as the source data, and have it repeated over several lines.

 

I would prefer to create a simple Pivot Table based upon the OP's source data, and just add Date as the Row field and Sum of Total Quotes as the Data field.

@Roger Govier 

Yes Roger, it's always better not to repeat same information and separate reporting from source data

Related Conversations