copy string from one row/cell to rows

milanoke

New Member
Joined
Oct 10, 2023
Messages
9
Office Version
  1. 365
Platform
  1. Windows
hi, how can I multiply/copy the value of one cell (sting) to rows bellow. e.g i have to set value of copy string in new rows. like REPT but not in same cell, need new row?
 

Attachments

  • 1Untitled.png
    1Untitled.png
    13.6 KB · Views: 6

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Hi & welcome to MrExcel.
How about
Fluff.xlsm
ABC
1
2
36
4
5HelloHello
6Hello
7Hello
8Hello
9Hello
10Hello
Data
Cell Formulas
RangeFormula
C5:C10C5=EXPAND(A5,A3,,A5)
Dynamic array formulas.
 
Upvote 0
thanks for reply, it helps but actually i wish to automate some job. i wish to make x command with new data.
 

Attachments

  • 3.png
    3.png
    45.1 KB · Views: 11
Upvote 0
Perhaps the below:
Book1
ABCDEFGH
1make 15 lines of command linesline of cmdinput data in cmdinput data in cmdinput data in cmdLines
2number=123456789,id=39,adres"172.20.18.167":139123456789172.20.18.1671number=123456789,id=39,adres"172.20.18.167":
3number=123456790,id=40,adres"172.20.18.168":240123456790172.20.18.1682number=123456790,id=40,adres"172.20.18.168":
4number=123456791,id=41,adres"172.20.18.169":341123456791172.20.18.1693number=123456790,id=40,adres"172.20.18.168":
5number=123456792,id=42,adres"172.20.18.170":142123456792172.20.18.1704number=123456791,id=41,adres"172.20.18.169":
6number=123456793,id=43,adres"172.20.18.171":243123456793172.20.18.1715number=123456791,id=41,adres"172.20.18.169":
7number=123456794,id=44,adres"172.20.18.172":344123456794172.20.18.1726number=123456791,id=41,adres"172.20.18.169":
8number=123456795,id=45,adres"172.20.18.173":145123456795172.20.18.1737number=123456792,id=42,adres"172.20.18.170":
9number=123456796,id=46,adres"172.20.18.174":246123456796172.20.18.1748number=123456793,id=43,adres"172.20.18.171":
109number=123456793,id=43,adres"172.20.18.171":
1110number=123456794,id=44,adres"172.20.18.172":
1211number=123456794,id=44,adres"172.20.18.172":
1312number=123456794,id=44,adres"172.20.18.172":
1413number=123456795,id=45,adres"172.20.18.173":
1514number=123456796,id=46,adres"172.20.18.174":
1615number=123456796,id=46,adres"172.20.18.174":
Sheet1
Cell Formulas
RangeFormula
G2:H16G2=HSTACK(SEQUENCE(SUM(B2:B9)),TOCOL(IF(SEQUENCE(,MAX(B2:B9))<=B2:B9,A2:A9,#N/A),3))
A2:A9A2="number=" & D2 & ",id=" &C2 & ",adres" & """" & E2 & """" & ":"
Dynamic array formulas.
 
Upvote 0
Sorry but I have no idea what you mean.
i wish to make formula which can make X new lines with variable data.
Sorry but I have no idea what you mean.
sorry i am confused to ;) let take a look in picture. i use your explanation "=EXPAND(B3;A3;;B3)" for new rows and combine columns B-H in column J. In cell J5 i wand to add value of A3. Is this possible?
 

Attachments

  • 11.png
    11.png
    57.3 KB · Views: 4
Upvote 0
Can you post what your actual data is like (not an image), as you have now shown 3 different samples of data.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
Post 6 used the layout proposed in post 4, have you tried this?
 
Upvote 0
Hi, sorry i cant install XL2BB. and i will try again to install. i put formula into cells.
I would like to explain again with cell formula i used from your suggestion. (see picture) I receive some data and copy them into column C and G. sometimes i receive 5 sometimes more than 1000. i wish to excel make lines instead of me in column J, to grown like value in cell A3.
if i change cell A3 to 10, column J will not rise. Only if i change value C9 to C14 and and G8 into G14 column will grown. i wish to automate this part and probably everything will be fine for me.
 

Attachments

  • 1111.png
    1111.png
    63.5 KB · Views: 3
Upvote 0

Forum statistics

Threads
1,215,346
Messages
6,124,417
Members
449,157
Latest member
mytux

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top