+ Reply to Thread
Results 1 to 6 of 6

Transpose formula?

  1. #1
    Registered User
    Join Date
    08-25-2016
    Location
    Brisbane, Australia
    MS-Off Ver
    2013
    Posts
    7

    Transpose formula?

    I want to transpose a row into a column, but since the content include a formula which links to another sheet, doing so would eliminate the values. Is there a correct way to copy/transpose such row? Thanks in advance.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: Transpose formula?

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: Lá fhéile Pádraig sona dhaoibh

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Transpose formula?

    Just a quick answer without more information, as you wrote this, you copy the row, then go where you want the values pasted, highlight the first cell in the column where you want it to start then hit paste special, click the transpose and values selections in the box and that should do it.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Registered User
    Join Date
    08-25-2016
    Location
    Brisbane, Australia
    MS-Off Ver
    2013
    Posts
    7

    Re: Transpose formula?

    Okay, so the worksheet I'm trying to edit is a transactional database. It currently has 3 sheets for Balance, Credit and Debit. However, I want to combine the credit and debit sheets into one so that the records are easier to fill. I want to have the Names written in a row instead of columns (as shown in the new sheet), but I also want the names to be linked to the Balance sheet, so if a new name is added, it would automatically get filled into the Names row in the credit/debit sheet.
    Attached Files Attached Files

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: Transpose formula?

    How you can possibly work with a sheet grossly polluted with mis-shapen comments is beyond my understanding!!

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: Transpose formula?

    In Sheet 1, A3, an array formula:

    =IFERROR(INDEX(Debit!$6:$15,MATCH(A$1,Debit!$B$6:$B$15,0),SMALL(IF(INDEX(Debit!$D$6:$K$15,MATCH(A$1,Debit!$B$6:$B$15,0),)<>"",COLUMN(Debit!$D$6:$K$15)),ROWS(A$1:A1))),"")

    In Sheet 1, B3, an array formula:

    =IFERROR(INDEX(Credit!$6:$15,MATCH(A$1,Credit!$B$6:$B$15,0),SMALL(IF(INDEX(Credit!$D$6:$K$15,MATCH(A$1,Credit!$B$6:$B$15,0),)<>"",COLUMN(Credit!$D$6:$K$15)),ROWS(B$1:B1))),"")


    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...

    after BOTH cells have been successfully array-entered, select BOTH cells and drag across and down as far as needed.
    Attached Files Attached Files

+ 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. transpose column to a range calculate and transpose to new table loop
    By moshro1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-02-2015, 10:52 AM
  2. [SOLVED] transpose sum formula
    By eing in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-02-2013, 01:47 AM
  3. [SOLVED] How to transpose a formula?
    By bryan444 in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 11-29-2012, 02:33 PM
  4. [SOLVED] Transpose: How can I copy a list and transpose it but leaving 3 cells in between each item
    By cocolete in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-11-2012, 10:01 AM
  5. Replies: 2
    Last Post: 02-19-2007, 04:53 PM
  6. formula to transpose
    By oberon.black in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-25-2005, 08:05 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