atrainwreck
New Member
- Joined
- Mar 25, 2012
- Messages
- 19
First off, I want to thank Mr. Excel for creating a forum that has been helpful over the years and a great information of wealth. Ive been a member since 2012 and still kicking lol. Thank you all in advance.
So the issue....I'm stumped on what technique to use regarding relative location of data when copying and pasting formulas/data referenced from a sheet that has a range of say A1:B100 without spaces between the rows. The problem I'm having with data being collected onto a 5 row range sheet where it needs to be copied down in increments of 5 yet start with the next row A2 from that reference A1:B100 sheet. Offset I thought was the solution, but unfortunately, that didn't work for me. VBA is more powerful, but I'm stuck on what to consider.
To be clear, the example shown below. The 5 row data table, needs to be copied down in 5 row increments. Row 1, B1 starts with a relative reference from ="BOG:"&Inners!A2. What I need to show when this 5 row range is copied to row 6, the next reference in A6 is ="BOG:"&Inners!A3.
When copying the rows, I'll get a relative reference of ="BOG:"&Inners!A7...not what I want. Same issue with the other relative ranges. Obliviously, the text cells and absolute values aren't an issue. Any help or guidance what to consider would be appreciated. The hack I know would work would be to change the A1:B100 sheet to add blank rows between the data. Then all information aligns to the table/referenced formulas. That makes the referenced sheet messy and hard to read....especially since it would turn that page into ~500 rows.
Thanks for the help!
So the issue....I'm stumped on what technique to use regarding relative location of data when copying and pasting formulas/data referenced from a sheet that has a range of say A1:B100 without spaces between the rows. The problem I'm having with data being collected onto a 5 row range sheet where it needs to be copied down in increments of 5 yet start with the next row A2 from that reference A1:B100 sheet. Offset I thought was the solution, but unfortunately, that didn't work for me. VBA is more powerful, but I'm stuck on what to consider.
To be clear, the example shown below. The 5 row data table, needs to be copied down in 5 row increments. Row 1, B1 starts with a relative reference from ="BOG:"&Inners!A2. What I need to show when this 5 row range is copied to row 6, the next reference in A6 is ="BOG:"&Inners!A3.
When copying the rows, I'll get a relative reference of ="BOG:"&Inners!A7...not what I want. Same issue with the other relative ranges. Obliviously, the text cells and absolute values aren't an issue. Any help or guidance what to consider would be appreciated. The hack I know would work would be to change the A1:B100 sheet to add blank rows between the data. Then all information aligns to the table/referenced formulas. That makes the referenced sheet messy and hard to read....especially since it would turn that page into ~500 rows.
Thanks for the help!
Text | ="BOG:"&Inners!A2 |
Text | Text |
Text | Text |
Text | ="SM:"&XLOOKUP(Inners!S2,Inners!$AE$2:$AE$14,XLOOKUP(--MID(Inners!A2,10,2),Inners!$AH$1:$AL$1,Inners!$AH$2:$AL$14)) |
Text | Text |
Last edited: