Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Spreadsheets (https://www.askmehelpdesk.com/forumdisplay.php?f=395)
-   -   Split Cells Vertically (https://www.askmehelpdesk.com/showthread.php?t=105090)

  • Jun 28, 2007, 10:45 AM
    Amyunimus
    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
  • Jun 28, 2007, 10:51 AM
    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.
  • Jun 28, 2007, 10:57 AM
    Amyunimus
    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?
  • Jun 28, 2007, 11:02 AM
    ScottGem
    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.

  • All times are GMT -7. The time now is 11:56 PM.