Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
repeat list 5 times
I am trying to create a formula that will take a list i have a break it out
to repeat the list 5 times ie current list 1 2 3 4 want it to say 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 i rather do this through a formula than macro since i am new to macros, but if you can help me with an easy macro i can follow i am all for it thanks |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
repeat list 5 times
Try this in B1 and copy down till the required range (till row no which is 5
times the last row in A) =INDIRECT("A" & (INT((ROW()-1)/5)+1)) "hab" wrote: I am trying to create a formula that will take a list i have a break it out to repeat the list 5 times ie current list 1 2 3 4 want it to say 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 i rather do this through a formula than macro since i am new to macros, but if you can help me with an easy macro i can follow i am all for it thanks |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
repeat list 5 times
How about just copy the list and pasting at the bottomm 4 times.
Then sort the list. hab wrote: I am trying to create a formula that will take a list i have a break it out to repeat the list 5 times ie current list 1 2 3 4 want it to say 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 i rather do this through a formula than macro since i am new to macros, but if you can help me with an easy macro i can follow i am all for it thanks -- Dave Peterson |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
repeat list 5 times
Thanks that helped
Do you have a suggestion now to get the numbers 4 5 6 7 8 to repeat in order 5 times? thanks "Sheeloo" wrote: Try this in B1 and copy down till the required range (till row no which is 5 times the last row in A) =INDIRECT("A" & (INT((ROW()-1)/5)+1)) "hab" wrote: I am trying to create a formula that will take a list i have a break it out to repeat the list 5 times ie current list 1 2 3 4 want it to say 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 i rather do this through a formula than macro since i am new to macros, but if you can help me with an easy macro i can follow i am all for it thanks |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
repeat list 5 times
Just put them in Col A, as many as you want...
and extend the formula (5 times the numbers in Col A) in Col B so if you have 100 numbers copy the formula down to B500 Col A can have anything... formula will repeat all values five times in Col B, if copied to 5 times the count in Col A "hab" wrote: Thanks that helped Do you have a suggestion now to get the numbers 4 5 6 7 8 to repeat in order 5 times? thanks "Sheeloo" wrote: Try this in B1 and copy down till the required range (till row no which is 5 times the last row in A) =INDIRECT("A" & (INT((ROW()-1)/5)+1)) "hab" wrote: I am trying to create a formula that will take a list i have a break it out to repeat the list 5 times ie current list 1 2 3 4 want it to say 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 i rather do this through a formula than macro since i am new to macros, but if you can help me with an easy macro i can follow i am all for it thanks |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
repeat list 5 times
It works when i have one number i want to repeat 5 times, my first question.
This time i have 5 numbers that i want to repeat but i want to keep them together and repeat the order 4 5 6 7 8 4 5 6 7 8 thanks "Sheeloo" wrote: Just put them in Col A, as many as you want... and extend the formula (5 times the numbers in Col A) in Col B so if you have 100 numbers copy the formula down to B500 Col A can have anything... formula will repeat all values five times in Col B, if copied to 5 times the count in Col A "hab" wrote: Thanks that helped Do you have a suggestion now to get the numbers 4 5 6 7 8 to repeat in order 5 times? thanks "Sheeloo" wrote: Try this in B1 and copy down till the required range (till row no which is 5 times the last row in A) =INDIRECT("A" & (INT((ROW()-1)/5)+1)) "hab" wrote: I am trying to create a formula that will take a list i have a break it out to repeat the list 5 times ie current list 1 2 3 4 want it to say 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 i rather do this through a formula than macro since i am new to macros, but if you can help me with an easy macro i can follow i am all for it thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
LIST OF THE NUMBERS, AND HOW MANY TIMES THEY REPEAT? | Excel Worksheet Functions | |||
copy a worksheet to new one with repeat rows 5 times | Excel Discussion (Misc queries) | |||
Repeat statements "x" number of times... | Excel Discussion (Misc queries) | |||
I have a long equation which I need to repeat 16 times! | Excel Worksheet Functions | |||
how do I get a calculation to repeat various number of times? | Excel Worksheet Functions |