+ Reply to Thread
Results 1 to 2 of 2

how to divide columns into new rows

  1. #1
    Registered User
    Join Date
    08-19-2021
    Location
    oslo
    MS-Off Ver
    2017
    Posts
    1

    how to divide columns into new rows

    I have an excel with dimensions 2048x1536 and I would like to make it as nx200 dimensions. the column name does nt matter. How can I do it other than copying and pasting 200 columns each time??

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,528

    Re: how to divide columns into new rows

    Hello ankitaaq and Welcome to Excel Forum.
    Here is how this might be done for 5 rows of data using formulas.
    1. As modeled on Sheet1, move the data over one column and down one row
    2. Use the following to populate B1 and over: =IF(MOD(COLUMNS($B1:B1)-1,200)=0,(COLUMNS($B1:B1)-1)/200,A1)
    3. Use the following to populate A2 and down: =SUM(A1,1)
    On Sheet2:
    1. Populate A2 and down using: =IF(MOD(ROWS(A$2:A2)-1,5)=0,(ROWS(A$2:A2)-1)/5,A1)
    2. [Optional but helpful] Populate B1 and over using the method for filling a series shown in the video starting at about the 1:30 mark.
    https://www.youtube.com/watch?v=CePq6bnC5oM
    Note that this is only used to find the last column for copying the formula step 3, the values are not used in calculation.
    3. Populate B2:GS41 using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that once the data is arranged on Sheet2 both column A and row 1 may be deleted.
    For future reference, you will usually get quicker responses if you include a sample file (instructions are in the HOW TO ATTACH YOUR SAMPLE WORKBOOK banner at the top of the page).
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Add rows in Alternate columns, divide by fixed rate per column.
    By jomili in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-12-2017, 06:46 PM
  2. VBA Excel 2013 - Count data rows on single sheet, divide by 3 , color band rows.
    By DoodlesMama in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-26-2015, 01:33 PM
  3. Replies: 6
    Last Post: 04-25-2011, 11:35 AM
  4. divide address into 2 columns
    By buyahh72 in forum Excel General
    Replies: 3
    Last Post: 04-19-2011, 02:08 PM
  5. Divide columns with an if
    By allykid in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-28-2011, 03:25 PM
  6. Divide columns
    By antony moseley in forum Access Tables & Databases
    Replies: 3
    Last Post: 06-08-2010, 12:46 PM
  7. divide rows evenly into columns
    By dwrkz in forum Excel General
    Replies: 2
    Last Post: 07-01-2009, 10:34 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1