+ Reply to Thread
Results 1 to 4 of 4

Transpose table and sumif data

  1. #1
    Registered User
    Join Date
    11-13-2013
    Location
    Kent
    MS-Off Ver
    Excel 2007
    Posts
    7

    Transpose table and sumif data

    Hi, I have the following table:
    2AA 2AB 2AC 2AD 2AE
    Finance 100 10 100 10 100
    HR 200 20 200 20 200
    ICT 300 30 300 30 300
    Finance 400 40 400 40 400
    HR 500 50 500 50 500
    ICT 600 60 600 60 600
    Finance 700 70 700 70 700
    HR 800 80 800 80 800
    ICT 900 90 900 90 900

    and I need to take the data and transpose the headings but then get the total of each as follows:
    Finance ICT HR
    2AA 1200 1800
    2AB 120
    2AC
    2AD
    2AE

    Is there a simple way of doing this? I have attched the excel spreadsheet if that helps.

    thanks
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: Transpose table and sumif data

    Please try this function

    Across C3:E7

    =SUMPRODUCT(($B$19:$B$27=C$2)*($C$18:$G$18=$B3)*($C$19:$G$27))
    Last edited by ramananhrm; 11-13-2013 at 08:20 AM.
    Please click 'Add reputation', if my answer helped you.

  3. #3
    Registered User
    Join Date
    11-13-2013
    Location
    Kent
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Transpose table and sumif data

    That is brilliant ramananhrm....that worked perfectly. Thank you

  4. #4
    Registered User
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,161

    Re: Transpose table and sumif data

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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 pivot table/consolidate data?
    By saybut in forum Excel General
    Replies: 8
    Last Post: 04-03-2014, 02:30 PM
  2. How to rotate a data Table in Excel 2010? (NOT TRANSPOSE)
    By jamonzonv in forum Excel General
    Replies: 1
    Last Post: 09-23-2013, 06:12 AM
  3. [SOLVED] Need to Transpose and Flip Table of Data - Macro Probably Needed
    By BobTomlinson in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-08-2013, 09:25 AM
  4. how to transpose row data into column wise into new table in access
    By alpeshkpatel in forum Access Programming / VBA / Macros
    Replies: 1
    Last Post: 10-13-2012, 09:03 AM
  5. How to transpose data from 2 columns into a table?
    By wizzo in forum Excel General
    Replies: 2
    Last Post: 01-29-2008, 03:39 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