repeat - Repeating a block of text element by element in Excel -
i wondering if copy in excel allows block of text (each new text element in different cell) repeat element element.
currently 1 can repeat block of text clicking , dragging such abc
can become abcabcabcabc
repeated 4 times. element element 4 times yield aaaabbbbcccc
. i'm doing rather large block of text manually not option.
this because wish have 2 columns, 1 abcabcabcabc
, aaaabbbbcccc
in 'to' , 'from' situation such possible journeys between points recorded.
could use cell-reference floor/ceiling rounding?
thank you.
a pedestrian approach formulas.
put order of series column e, starting in e1.
copy cells in column e column a, starting in cell a2. drag down far desired, repeating pattern set in column e.
place first value of pattern in cell b1.
in cell b2 put formula , copy down far required
=if(countif($b$1:b1,a2)<counta(e:e),b1,index(e:e,roundup((row()-1)/counta(e:e),0)))
copy column b. paste special values.
Comments
Post a Comment