Ask Experts Questions for FREE Help !
Ask
    Amyunimus's Avatar
    Amyunimus Posts: 11, Reputation: 1
    New Member
     
    #1

    Jun 28, 2007, 10:45 AM
    Split Cells Vertically
    I have a column of numbers

    1
    2
    3
    4
    5


    And I want to create a new column where each number is repeated a certain number of times (let's say 5 here, but for me, it will actually be 9 times)

    1
    1
    1
    1
    1
    2
    2
    2
    2
    2
    etc...

    This list is long to start with (600+), so I can't click and drag each entry. Is there anyway I can split cells vertically and have the contents copy into the new rows? Or any other suggestions?

    Thanks
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man
     
    #2

    Jun 28, 2007, 10:51 AM
    Splitting won't work. You can do this with patterns. Type in 9 rows of 1s then 9 rows of 2s. Select the 18 rows, then click on the box in the lower right corber and drag down the 600 rows. This will fill in the range with rows of 2s, 3s, etc. You might have to convert to the Int value to remove decimals. But this is the easiest way.
    Amyunimus's Avatar
    Amyunimus Posts: 11, Reputation: 1
    New Member
     
    #3

    Jun 28, 2007, 10:57 AM
    Quote Originally Posted by ScottGem
    Splitting won't work. You can do this with patterns. Type in 9 rows of 1s then 9 rows of 2s. Select the 18 rows, then click on the box in the lower right corber and drag down the 600 rows. This will fill in the range with rows of 2s, 3s, etc. You might have to convert to the Int value to remove decimals. But this is the easiest way.
    That won't work in my case. I simplified my problem for the post... the issue is these numbers are not in sequential order.

    That is, I have a column of directions (NW,SW,NE,SE) corresponding to numbers 1-4. These are randomly occurring. So my list looks more like:

    2
    3
    4
    3
    3
    1
    4

    etc.

    Is there any way to handle this?
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man
     
    #4

    Jun 28, 2007, 11:02 AM
    Nope, But this is an example of why its better to be more detailed in your question. Had you explained exactly what you are dealing with I wouldn't have wasted both our time on a solution that wouldn't work. So now you should explain in FULL detail what you really need and maybe I can offer a solution.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

The Cells [ 2 Answers ]

What would happen if the nucleus was taken out?

Clicking differnet cells and it selecting all cells [ 2 Answers ]

Just wondered if anyone knew what I did to get ms excel to select all cells from A1 to what ever cell I clicked on. Thought it was sticky keys but it was turned off. Clicked left mouse button and it moved cells then when I clicked other cells it started using that as a new ref point and selecting...

Display text vertically and not horizontally in 1 cell (Excel) [ 2 Answers ]

How would you display a line of text to show vertically after each text in one cell? For example: Total Activity Cost And not Total Activity Cost (in one cell)? Thank you in advance.


View more questions Search