Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 154709
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T10:01:37+00:00 2026-05-11T10:01:37+00:00

I am trying move rows of values into a column in Excel. The transpose

  • 0

I am trying move rows of values into a column in Excel. The transpose function works well, but will only move one row at a time. I would like to get a macro that will convert 173 rows of data across three columns into one column. Please see example below. Thanks in advance for any help.

Rows:

 98,058  98,058  98,314 82,362  82,684  83,326 93,410  93,479  93,761 

Columns:

 98,058 98,058 98,314 82,362 82,684 83,326 93410 93479 93761 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T10:01:37+00:00Added an answer on May 11, 2026 at 10:01 am

    The following will load the data from the CurrentRegion of A1 into an array and paste into one column, beginning in A5.

    I’m assuming the data is numerical, contiguous and that this is a one-off, rather than an exercise that might have to be repeated on data sets of differing sizes. If your data is not contiguous, or not bound by empty cells, then you can hard code the range instead.

    Private Sub transposeRows() Dim inputRange As Variant Dim myArray() As Long Dim x As Long Dim testCell As Range  'Get the range of data to copy' Set inputRange = Range('A1').CurrentRegion  'Resize array to fit' ReDim myArray(inputRange.Count - 1)  'Fill up array with data' For Each testCell In inputRange     myArray(x) = testCell     x = x + 1 Next testCell  'Fill destination range' Range('A5:A' & UBound(myArray) + 5) = WorksheetFunction.Transpose(myArray)  End Sub 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to move data from one table into two new tables, but
I am trying to insert some data from one table into another but I
So I am trying to move selected rows from 1 table to another in
I am trying to move some files in python, but they have spaces in
I am trying to move from MySQL to MySQLi but am having some problems.
I am trying to move project which was using MySQL database to the one
I'm trying to move X number of rows down in a table using jQuery...
I have been trying to move away from using DECODE to pivot rows in
I'm trying to write a macro that will copy the rows if 3 conditions
I am trying to import from an old database into an updated one. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.