Home

How to update (copy and paste) similar groupings of columns across one spreadsheet?

%3CLINGO-SUB%20id%3D%22lingo-sub-700571%22%20slang%3D%22en-US%22%3EHow%20to%20update%20(copy%20and%20paste)%20similar%20groupings%20of%20columns%20across%20one%20spreadsheet%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-700571%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20All!%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20this%20sheet%20that%20we%20are%20using%20to%20record%20data%20on%20a%20daily%20basis.%20Within%20the%20data%20entry%20tab%20of%20the%20worksheet%20is%2052%20formulaically%20identical%20groupings%20of%20columns%20for%20each%20week.%20While%20we%20do%20have%20the%20spreadsheet%20done%20now%2C%20we%20may%20end%20up%20needing%20to%20update%20these%20formulas%20in%20the%20future%2C%20thus%20needing%20to%20update%20each%20formula%20in%20the%2052%20column%20groupings.%20Is%20there%20an%20easy%20way%20to%20do%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20I've%20tried%20to%20just%20copy%20or%20fill%20across%20the%20whole%20worksheet%2C%20but%20since%20some%20of%20my%20columns%20are%20merged%20cells%2C%20it%20doesn't%20work.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESee%20my%20screenshots%20to%20see%20what%20my%20spreadsheet%20actually%20looks%20like.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20to%20avoid%20having%20to%20totally%20retool%20this%20spreadsheet%20so%20that%20it%20is%20malleable%20in%20the%20future%2C%20so%20any%20input%20would%20be%20great.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-700571%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-705629%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20update%20(copy%20and%20paste)%20similar%20groupings%20of%20columns%20across%20one%20spreadsheet%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-705629%22%20slang%3D%22en-US%22%3EWouldn't%20it%20be%20simpler%20to%20have%20just%20ONE%20set%20of%20columns%20and%20then%20to%20insert%20a%20column%20as%20the%20first%20one%20that%20contains%20the%20weeknumber%20(repeating%20on%20all%20rows%20for%20each%20week)%3F%20If%20you%20need%20to%20just%20look%20at%20week%201%2C%20you%20filter%20the%20table%20on%20that%20column.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-706308%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20update%20(copy%20and%20paste)%20similar%20groupings%20of%20columns%20across%20one%20spreadsheet%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-706308%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F22322%22%20target%3D%22_blank%22%3E%40Jan%20Karel%20Pieterse%3C%2FA%3E%26nbsp%3BYes%2C%20that%20would%20be%20simpler.%20This%20is%20a%20sheet%20that%20I%20was%20given%20by%20my%20management%20that%20they%20have%20used%20for%20years%2C%20so%20I%20want%20to%20avoid%20changing%20it%20as%20much%20as%20possible.%26nbsp%3BIf%20I%20can't%20end%20up%20finding%20a%20solution%2C%20I'll%20probably%20do%20what%20you%20recommend.%20But%20I%20ideally%20won't%20change%20this%20spreadsheet%20in%20any%20way.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-706317%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20update%20(copy%20and%20paste)%20similar%20groupings%20of%20columns%20across%20one%20spreadsheet%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-706317%22%20slang%3D%22en-US%22%3EWell%2C%20one%20thing%20which%20will%20make%20this%20easier%20is%20to%20stop%20using%20merged%20cells.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-706408%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20update%20(copy%20and%20paste)%20similar%20groupings%20of%20columns%20across%20one%20spreadsheet%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-706408%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F22322%22%20target%3D%22_blank%22%3E%40Jan%20Karel%20Pieterse%3C%2FA%3E%26nbsp%3BYeah...%20the%20merged%20cells%20are%20a%20pain%20to%20work%20with...%20But%20again%2C%20I'd%20like%20to%20avoid%20changing%20the%20formatting%20of%20this%20sheet%20in%20any%20way.%20The%20guys%20that%20use%20this%20on%20a%20daily%20basis%20are%20already%20comfortable%20using%20this%20sheet%20and%20my%20copy%20and%20paste%20problem%20doesn't%20warrant%20changing%20their%20daily%20process.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-707123%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20update%20(copy%20and%20paste)%20similar%20groupings%20of%20columns%20across%20one%20spreadsheet%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-707123%22%20slang%3D%22en-US%22%3EHmm.%20I%20guess%20ther%20might%20be%20ways%20to%20ease%20your%20formula%20updating%20process%2C%20but%20for%20that%20I'd%20need%20more%20information%2C%20preferably%20a%20copy%20of%20the%20file.%20And%20I'd%20need%20to%20know%20whether%20or%20not%20the%20sequence%20of%20the%20weekly%20columns%20is%20identical%20for%20all%2052%20weeks.%20If%20so%2C%20we%20could%20probably%20write%20a%20macro%20that%20copies%20formulas%20from%20week%201%20to%202...52%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-707249%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20update%20(copy%20and%20paste)%20similar%20groupings%20of%20columns%20across%20one%20spreadsheet%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-707249%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F22322%22%20target%3D%22_blank%22%3E%40Jan%20Karel%20Pieterse%3C%2FA%3E%26nbsp%3BIt%20is%20identical%2C%20other%20than%20the%20Week%20and%20Date%20numbers.%20I've%20attached%20the%20spreadsheet%20here.%20Thanks%20for%20your%20help!%20If%20you%20need%20any%20other%20piece%20of%20info%2C%20let%20me%20know.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-707251%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20update%20(copy%20and%20paste)%20similar%20groupings%20of%20columns%20across%20one%20spreadsheet%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-707251%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F22322%22%20target%3D%22_blank%22%3E%40Jan%20Karel%20Pieterse%3C%2FA%3E%26nbsp%3BIt%20is%20identical%2C%20other%20than%20the%20Week%20and%20Date%20numbers.%20I've%20attached%20the%20spreadsheet%20here.%20Thanks%20for%20your%20help!%20If%20you%20need%20any%20other%20piece%20of%20info%2C%20let%20me%20know.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-707488%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20update%20(copy%20and%20paste)%20similar%20groupings%20of%20columns%20across%20one%20spreadsheet%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-707488%22%20slang%3D%22en-US%22%3ESo%20basically%20you'd%20copy%20the%20column%20E%3AN%20and%20paste%20them%20onto%20O%3AX%2C%20Y%3AAH%2C%20AI%3AAR%2C%20etcetera%3F%3CBR%20%2F%3EBut%20what%20to%20do%20with%20the%20values%20entered%20under%20the%20date%20columns%3F%3CBR%20%2F%3EAlso%2C%20wouldn't%20it%20be%20easier%20to%20calculate%20the%20dates%20e.g.%20by%20adding%20placing%20this%20formula%20in%20F2%3A%20%3DE2%2B1%20and%20then%20copying%20this%20formula%20to%20the%20right%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-707638%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20update%20(copy%20and%20paste)%20similar%20groupings%20of%20columns%20across%20one%20spreadsheet%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-707638%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F22322%22%20target%3D%22_blank%22%3E%40Jan%20Karel%20Pieterse%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYes%2C%20we%20are%20just%20copying%20that%20column%20and%20pasting%20in%20all%20subsequent%20columns.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20numbers%20under%20the%20dates%20are%20the%20manually%20entered%20data%20that%20we%20are%20recording.%20Its%20number%20of%20tests%20and%20number%20of%20passed%20tests.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20yes%2C%20that%20would%20be%20easier!%20I%20honestly%20hadn't%20thought%20of%20that.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-709773%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20update%20(copy%20and%20paste)%20similar%20groupings%20of%20columns%20across%20one%20spreadsheet%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-709773%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F226707%22%20target%3D%22_blank%22%3E%40Dillan%20Patel%3C%2FA%3E%20Please%20find%20attached%20your%20file%20with%20a%20macro%20to%20copy%20the%20first%20week%2051%20times.%20Just%20open%20the%20file%2C%20enable%20macros%20and%20then%20hit%20alt%2BF8%20and%20click%20the%20macro%20%22%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3ECopyColumns2Right%3C%2FFONT%3E%22%20and%20click%20Run.%3C%2FP%3E%0A%3CP%3EThe%20statusbar%20shows%20progress%20in%20copying%20the%20weeks.%20Strangely%20enough%20it%20sometimes%20is%20very%20quick%20and%20other%20times%20seems%20to%20drag%20its%20feet%20doing%20the%20copying.%20No%20idea%20why%20this%20speed%20variation%20is%20there.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Dillan Patel
Occasional Contributor

Hello All! 

 

I have this sheet that we are using to record data on a daily basis. Within the data entry tab of the worksheet is 52 formulaically identical groupings of columns for each week. While we do have the spreadsheet done now, we may end up needing to update these formulas in the future, thus needing to update each formula in the 52 column groupings. Is there an easy way to do this?

 

And I've tried to just copy or fill across the whole worksheet, but since some of my columns are merged cells, it doesn't work. 

 

See my screenshots to see what my spreadsheet actually looks like. 

 

I want to avoid having to totally retool this spreadsheet so that it is malleable in the future, so any input would be great. 

 

 

9 Replies
Wouldn't it be simpler to have just ONE set of columns and then to insert a column as the first one that contains the weeknumber (repeating on all rows for each week)? If you need to just look at week 1, you filter the table on that column.

@Jan Karel Pieterse Yes, that would be simpler. This is a sheet that I was given by my management that they have used for years, so I want to avoid changing it as much as possible. If I can't end up finding a solution, I'll probably do what you recommend. But I ideally won't change this spreadsheet in any way. 

Well, one thing which will make this easier is to stop using merged cells.

@Jan Karel Pieterse Yeah... the merged cells are a pain to work with... But again, I'd like to avoid changing the formatting of this sheet in any way. The guys that use this on a daily basis are already comfortable using this sheet and my copy and paste problem doesn't warrant changing their daily process. 

Hmm. I guess ther might be ways to ease your formula updating process, but for that I'd need more information, preferably a copy of the file. And I'd need to know whether or not the sequence of the weekly columns is identical for all 52 weeks. If so, we could probably write a macro that copies formulas from week 1 to 2...52

@Jan Karel Pieterse It is identical, other than the Week and Date numbers. I've attached the spreadsheet here. Thanks for your help! If you need any other piece of info, let me know. 

So basically you'd copy the column E:N and paste them onto O:X, Y:AH, AI:AR, etcetera?
But what to do with the values entered under the date columns?
Also, wouldn't it be easier to calculate the dates e.g. by adding placing this formula in F2: =E2+1 and then copying this formula to the right?

@Jan Karel Pieterse 

Yes, we are just copying that column and pasting in all subsequent columns. 

 

The numbers under the dates are the manually entered data that we are recording. Its number of tests and number of passed tests. 

 

And yes, that would be easier! I honestly hadn't thought of that. 

 

 

@Dillan Patel Please find attached your file with a macro to copy the first week 51 times. Just open the file, enable macros and then hit alt+F8 and click the macro "CopyColumns2Right" and click Run.

The statusbar shows progress in copying the weeks. Strangely enough it sometimes is very quick and other times seems to drag its feet doing the copying. No idea why this speed variation is there.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies