+ Reply to Thread
Results 1 to 3 of 3

Summing value with 2 parameters - Index & match, or Vlookup?

  1. #1
    Registered User
    Join Date
    06-01-2015
    Location
    UK
    MS-Off Ver
    2011
    Posts
    1

    Summing value with 2 parameters - Index & match, or Vlookup?

    Hi, Hope someone can help point me in the right direction.

    Have tried Index & match and had little joy, so need to ask the experts.

    I have data in a table, and I need to look up values based on a code, and a split of that code.

    Data example :

    Code PMXU Value
    112 P 1
    112 P 1.5
    112 M 1.5
    113 U 1
    113 U 1.2
    114 X 1.5
    114 P 1
    114 P 2

    I need to arrange the data in the following format :

    Code P M X U Total
    112 2.5 1.5 0 0 4
    113 0 0 0 2.2 2.2
    114 3 0 1.5 0 4.5


    Any help is greatly appreciated!

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Summing value with 2 parameters - Index & match, or Vlookup?

    SUMIFS will sove what you are trying to accomplish.

    http://chandoo.org/wp/2010/04/20/int...umifs-formula/

    Or you could use a pivot table and not do a single formula, which is what I would do.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Summing value with 2 parameters - Index & match, or Vlookup?

    A pivot table would do that.
    Attached Files Attached Files
    Some people volunteer in soup kitchens or hospitals. I choose to make the world better by trying to help you with Excel. We're all learning.

    <---Click * Add Reputation for all helpful comments. It's like giving a smile.
    Forum Rules: How to mark your post [Solved] and have a happier, Excel enriched life.

+ 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. Summing rows of data using Index Match Formula
    By KTunnell in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-13-2014, 02:28 PM
  2. [SOLVED] Using Index, Match and summing the Multiple matches
    By shameus in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-14-2014, 05:16 PM
  3. Index & Match a table of data using multiple parameters
    By monaghanmj44 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-21-2013, 01:29 AM
  4. summing an index(match,match) over multiple spreadsheets
    By andyjoewalnutt in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-31-2013, 03:15 PM
  5. Replies: 1
    Last Post: 03-03-2009, 12:13 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