+ Reply to Thread
Results 1 to 9 of 9

Autofil column with data from row?

Hybrid View

  1. #1
    Registered User
    Join Date
    04-03-2008
    Posts
    14

    Autofil column with data from row?

    Is it possible to tell Excel to autofil a column with data from a row?

    I would like to be able to take the data from the "totals" row in one sheet (e.g. A42, B42, C42, D42, and automatically put it into a column in another sheet.

    Is there any way for an Excel simpleton to do this?

  2. #2
    Valued Forum Contributor
    Join Date
    06-16-2006
    Location
    Sydney, Australia
    MS-Off Ver
    2013 64bit
    Posts
    1,394
    highlight the row of data

    select the first cell in your destination column

    Right click, paste special, select Values and Transpose

  3. #3
    Registered User
    Join Date
    04-03-2008
    Posts
    14
    That works on a one-off basis, and it is what I am doing at the moment. But if the values in the source row change, this does not automatically update the data in the destination column - which is what I am after.

  4. #4
    Registered User
    Join Date
    04-03-2008
    Posts
    14
    I have found the answer to my question elsewhere, but I thought someone visiting this forum might like to see the answer.

    To automatically fill a column with data from a row, or fill a row with data from a column, use the "Transpose" Function.
    E.g:
    Select a number of horizontally consecutive cells. i.e F1:J1
    enter =Transpose(A1:A5)
    then confirm with Ctrl + Shift + Enter
    As you change any cell in A1:A5, it updates the corresponding value in F1:J1

    If you use the Function dialog box (Insert - Function - Transpose) rather than manually entering "=Transpose(A1:A5)", you still have to finish the process with Ctrl + Shift + Enter to make it work. For reasons which are beyond me, simply selecting "OK" in the dialog box does not work. I wonder if anyone here can explain why???

  5. #5
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    626
    Here are 2 formulas to help you
    =INDEX($B$1:$E$1,0,ROW(A1))
    =OFFSET($B$1:$E$1,0,ROW(A1)-1)
    I need your support to add reputations if my solution works.


  6. #6
    Registered User
    Join Date
    04-03-2008
    Posts
    14
    Thankyou for taking the time to post this advice. However, I am very ignorant about formulas, and (if you have the time) a bit more information would be helpful - i.e. more details about what precisely they are meant to do and how to use them (e.g, do I select the target cells and put the formula in all of them - or what???). I have played around with the formulas, but can't get them to work in any meaningful way.

    Quote Originally Posted by sglife View Post
    Here are 2 formulas to help you
    =INDEX($B$1:$E$1,0,ROW(A1))
    =OFFSET($B$1:$E$1,0,ROW(A1)-1)

  7. #7
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    626

    See the attachment

    What you need is a sample
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    04-03-2008
    Posts
    14
    Thanks, that's great

  9. #9
    Registered User
    Join Date
    04-03-2008
    Posts
    14
    Thanks for your help - but one further question. I've got this working for transposing a row to a column, but I can't work out how to adapt it to transpose a column to a row. If you could help with that, it woud be GREATLY appreciated.


    Quote Originally Posted by sglife View Post
    What you need is a sample

+ 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. Replies: 5
    Last Post: 07-09-2008, 10:12 AM
  2. Filtering data by a Criteria column
    By v282788 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-18-2008, 02:28 PM
  3. Auto-retrieve and manage data from another spreadsheet
    By techissue2008 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-16-2008, 12:17 AM
  4. Pasting data in every other column
    By oakman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-28-2007, 04:04 PM
  5. How to retrieve data in right column of data?
    By tscott in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 09-21-2006, 05:07 PM

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