+ Reply to Thread
Results 1 to 2 of 2

Copying and Incrementing Values

  1. #1
    Registered User
    Join Date
    05-14-2007
    Posts
    1

    Copying and Incrementing Values

    I am trying to copy the values in one spreadsheet across rows, into another into columns. The command =sheet1!A1 works fine if i am copying columns to colums - if copied and pasted, it will increment =sheet1!A1 , =sheet1!A2 , =sheet1!A3 etc... down the column. But I need it the column letter to remain constant. The result i need is:

    sheet1!A1 = sheet2!A1
    sheet1!B1 = sheet2!A2
    sheet1!C1 = sheet2!A3
    and so on.

    I have many many rows of data across many column that i need to consolidate into one column (so Transpose doesn't work in this case. Is there a way I can do this so it's not line by line?

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2006
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 2016
    Posts
    1,075
    Quote Originally Posted by armadale
    I am trying to copy the values in one spreadsheet across rows, into another into columns. The command =sheet1!A1 works fine if i am copying columns to colums - if copied and pasted, it will increment =sheet1!A1 , =sheet1!A2 , =sheet1!A3 etc... down the column. But I need it the column letter to remain constant. The result i need is:

    sheet1!A1 = sheet2!A1
    sheet1!B1 = sheet2!A2
    sheet1!C1 = sheet2!A3
    and so on.
    You can use $ signs to make cell references absolute, like this:

    sheet1!A$1 = sheet2!$A1
    sheet1!B$1 = sheet2!$A2
    sheet1!C$1 = sheet2!$A3

    I have many many rows of data across many column that i need to consolidate into one column (so Transpose doesn't work in this case. Is there a way I can do this so it's not line by line?
    Try joining the cell references with ampersands, like this (changing the cell references to suit):
    =A1&B1&C1&...
    You can also add the sheet names if you want to join across multiple worksheets. If you want spaces between, use =A1&" "&B1&" "&C1&" "&...
    Trish in Oz
    -------------
    A problem well defined is a puzzle half solved


    If you attach a sample of your workbook it will be easier to find a solution. Remember to remove/replace sensitive data before uploading the file. Look here if you need help with attachments:
    http://www.excelforum.com/faq.php?fa...b3_attachments

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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