LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default How to repeat a text value in a column a specified num of times?

this can be done with the countif function.

In Cell C25
=COUNTIF(A$25:A$37,A25)
A25 to A37 is the names

"JB" wrote:

This is a scheduling routine. I have a list of names in one column to which I
assign a random number, in an adjacent column. Once the random numbers are
assigned, I sort the two columns together, by the random numbers, to
randomize the list of names.

The refinement:
Each name in the list will ultimately be repeated anywhere from 0 to 3
times. I would like to assign each name a frequency value, and then
automatically generate a list with the names repeating in accordance with the
frequency number. This can be done manually, but it would be more elegant if
I could add a name and a frequency and let Excel generate the list
accordingly.

Is this doable?

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Repeat text a number define of times Alexandra Lopes Excel Worksheet Functions 6 November 18th 08 05:37 PM
How can I count how many times different texts repeat in a column? pjr New Users to Excel 13 May 30th 08 04:58 AM
how do I count the number of times text in column A matches text i Sheila Excel Worksheet Functions 2 November 16th 05 10:20 PM
How I can print full text bigger than column, in repeat column Prince Excel Discussion (Misc queries) 0 August 11th 05 07:28 PM
in excel can one repeat the text from a the last used column cell. Millard Excel Discussion (Misc queries) 1 March 18th 05 06:33 PM


All times are GMT +1. The time now is 11:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"