+ Reply to Thread
Results 1 to 5 of 5

Populate Table from Column to Row

  1. #1
    Registered User
    Join Date
    10-02-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    29

    Populate Table from Column to Row

    Hi Guys,

    Please help me populate the the table in where in the header is in row, in reference to the values of the corresponding values in the first column.

    I have attach the excel file.

    Table_A.xls

    Thanks.

  2. #2
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Populate Table from Column to Row

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Copy and paste the formula in E2 after that use Ctrl+Shift+Enter & drag it both Vertical & horizontal

    Punnam

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Populate Table from Column to Row

    Hello

    You can use advanced filter, or a formula to create a unique list and then COPY>>PASTE SPECIAL>TRANSPOSE>>OK.

    To do what you need.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,822

    Re: Populate Table from Column to Row

    Put this formula in C2:

    =IF(A2="","-",A2&"_"&COUNTIF(A$2:A2,A2))

    and copy down beyond your data to accommodate new data being added. Then you can use this formula in cell E2:

    =IF(ISNA(MATCH(E$1&"_"&ROWS($1:1),$C:$C,0)),"",(INDEX($B:$B,MATCH(E$1&"_"&ROWS($1:1),$C:$C,0))))

    which can be copied into F2:G2, and then the block of formulae E2:G2 can be copied down as far as you need them - the attached file shows this.

    Note, as your profile shows Excel 2003 I've made the formula compatible with this, though it could be simplified by using IFERROR if you now have a later version of Excel.

    Hope this helps.

    Pete
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-02-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    29

    Re: Populate Table from Column to Row

    Thank you very much

+ 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. Populate a column of cells based on a table
    By badenmorgan in forum Excel General
    Replies: 2
    Last Post: 01-26-2014, 06:59 AM
  2. Populate ComboBox from column of Excel Table
    By trecie13 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-14-2013, 10:32 AM
  3. populate a table using row and column headers
    By garywilson4 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-05-2012, 10:43 AM
  4. populate a table using row and column headers
    By garywilson4 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-04-2012, 04:42 PM
  5. Need to Populate Column Based on Table
    By jadown in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-06-2012, 07:01 AM

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