+ Reply to Thread
Results 1 to 5 of 5

use formulas to transpose and sum values based on multiple criteria

  1. #1
    Registered User
    Join Date
    06-28-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    3

    use formulas to transpose and sum values based on multiple criteria

    Hello,

    I am in essence trying to transpose data using formulas to sum values, except that I need to match against 2 criteria. i.e. Dates are displayed in 1 column, Departments are displayed in 1 row multiple columns and sometimes duplicated, and values are in each row below the Department row. I want to transpose the data so I have 1 column for the Dates, 1 column for the Departments, and a 3rd column to sum the values. I attached an example of what I'm trying to accomplish. Any ideas for what formula to use to sum the values that match the 2 criteria for Date and Department?

    Thanks!
    Rebecca
    Attached Files Attached Files

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: use formulas to transpose and sum values based on multiple criteria

    In C2, put

    =SUMPRODUCT(('Source Data'!$A$2:$A$26=A2)*('Source Data'!$B$1:$K$1=B2)*'Source Data'!$B$2:$K$26)

  3. #3
    Registered User
    Join Date
    06-28-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: use formulas to transpose and sum values based on multiple criteria

    Perfect! Thank you!!

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: use formulas to transpose and sum values based on multiple criteria

    You're welcome.

  5. #5
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: use formulas to transpose and sum values based on multiple criteria

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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