Duplicating cell content x times

sdugar

New Member
Joined
May 6, 2010
Messages
4
i need to copy a word x times in a spreadsheet (these are search terms that I am trying to duplicate to generate a cloud tag - so need to capture not just the word by also the frequency it occurring at. Is there an excel formula I can use to do this?

My data looks something like this:
Buy shoes (search term), 4300 (number of times this term occurs)
Boots (search term), 1000 (number of times this term occurs)
Thanks
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
HI
it is not clear whether you wish to copy the search term 4800 times or count the number of times the search term occurs. is the search term a substring?
Ravi
 
Upvote 0
I need to copy the search term 4800 times. So an automated way of turning "shoes" into "shoes shoes shoes shoes shoes ....."

Thanks
 
Upvote 0
=REPT(A1,4800)

adjust if need be, e.g.

=REPT(A1&" ",4800)
 
Upvote 0
Hi and welcome to the board!!!
Do you want "shoes shoes shoes shoes shoes ....." in One Cell? A Column? Where?

lenze
 
Upvote 0
it can be in one cell, or multiple columns, or multiple rows. I could just copy the block and paste in text.

Thanks
Smita
 
Upvote 0
Have you tried what I suggested? That would be the easiest way but limited to a single cell.

I think Lenze's suggestion of across rows or down columns would require a macro - depending on what you require!
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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