+ Reply to Thread
Results 1 to 6 of 6

How to convert rows in to column by using formula

  1. #1
    Registered User
    Join Date
    12-09-2009
    Location
    Wilmington, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Angry How to convert rows in to column by using formula

    Hi Experts,

    I am new with excel. i am getting some data in excel which can be data for 12 months or less then 12 months. i need to make a formulla that can transform my rows into columns. challange is sometimes i am getting data for 12 months and some times not for 12 months. I need to show null or zero in the columns for missing months. Can some one make 1 formulla so that i can understand and follow it. i have attached the excel file as well. Please need it urgent.

    Origional Data
    A1:E7
    Country Month Accounts Payable Accounts RA Accounts PR
    United States 8 200 241 123
    United States 5 100 201 133
    United States 6 150 198 144
    United States 7 170 167 155
    United States 9 130 180 166
    United States 10 125 150 177

    Required Format:
    I4:U5
    Months
    1 2 3 4 5 6 7 8 9 10 11 12
    Accounts Payable 100 150 170 200 130 125
    Accounts RA 201 198 167 241 180 150
    Accounts PR 133 144 155 123 166 177
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: How to convert rows in to column by using formula

    Hi,

    Maybe not the answer you're looking for but if you were prepared to change the layout of your original data you would open up the whole world of the Pivot Table functionality and make subsequent analysis and summarisation so much easier and without needing any formulae - see attached.
    Attached Files Attached Files
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    12-09-2009
    Location
    Wilmington, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: How to convert rows in to column by using formula

    Richard thanks for your reply. But i dont want to use pivot tables because this excel sheet is going to be source for a dashboard and dashboarding tool does not support pivot tables of excel.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: How to convert rows in to column by using formula

    Quote Originally Posted by bill13 View Post
    Richard thanks for your reply. But i dont want to use pivot tables because this excel sheet is going to be source for a dashboard and dashboarding tool does not support pivot tables of excel.
    Hi, whilst your dashboard may not support PTs, PTs could certainly support your dashboard and be much more useful not to say flexible.

  5. #5
    Registered User
    Join Date
    12-09-2009
    Location
    Wilmington, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: How to convert rows in to column by using formula

    Richard,

    I have made one formula and it is working fine

    IFERROR(INDEX($B$2:$F$13,MATCH(O$1,$C$2:$C$13,0),MATCH($J2,$B$1:$F$1,0)),"")

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: How to convert rows in to column by using formula

    OK, that's good.

    I didn't say that there wasn't a formula, just that a Pivot table is ultimately more flexible. You should always try and capture your data in a 'normalised' table where fields that contain similar items - albeit different values are unique.

+ 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. CSV: Can't convert to one column only lots of rows?
    By byepeeps in forum Excel General
    Replies: 5
    Last Post: 01-13-2010, 04:25 PM
  2. Convert column to rows
    By janger-heli in forum Excel General
    Replies: 2
    Last Post: 06-17-2009, 10:54 AM
  3. Convert column information to rows
    By udayk4 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-07-2009, 02:40 AM
  4. Convert rows to one single long column?
    By Spalding in forum Excel General
    Replies: 2
    Last Post: 11-21-2005, 09:39 AM
  5. Convert a column into a number of rows
    By ArranMoffat in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-23-2005, 12:33 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