+ Reply to Thread
Results 1 to 5 of 5

Index match multiple results

  1. #1
    Registered User
    Join Date
    01-20-2016
    Location
    London
    MS-Off Ver
    Microsoft 15.13.3 (mac)
    Posts
    2

    Index match multiple results

    Hi All,

    I have a table of costs in all different currencies and want to SUM them at the bottom, in one currency, without having to create a separate table to convert each line.

    Is there a simple way to do this without VBA? I have been trying SUMPRODUCT of an Index match formula, but can't quite get it to work. It's summing them all at the conversion rate of the first line rather than calculating each line individually and then summing at the end.


    {=SUMPRODUCT(INDEX(Control!$D$3:$D$149,MATCH(A2:A5,Control!$C$3:$C$149,0)),B2:B5)}


    Simplified Table as an example (FX rates in a separate table in Control tab):

    A B
    Currency Value
    GBP 100
    CHF 200
    EUR 300
    CHF 400
    TOTAL (USD) X?


    Any advice would be greatly appreciated!!

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,002

    Re: Index match multiple results

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,907

    Re: Index match multiple results

    Try this ...

    =SUMPRODUCT(IFERROR(LOOKUP(Control!$C$3:$C$149,A2:B5),0),Control!$D$3:$D$149)

    Enter with Ctrl+Shift+Enter.

  4. #4
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Index match multiple results

    Hi All,

    @Luke_reed, I have a question: is your currency list (in Control!C3:C149) arranged alphabetically by currency code?

    Regards
    Last edited by canapone; 04-07-2017 at 08:54 AM. Reason: List in C3:C149...
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,002

    Re: Index match multiple results

    The list with the exchange rates in Control needs to be sorted alphabetically. then this array formula will work:

    =SUMPRODUCT(IFERROR(LOOKUP($A$2:$A$5,Control!$C$3:$C$149,Control!$D$3:$D$149),0),$B$2:$B$5)

    See the analogous situation in the sheet attached...
    Attached Files Attached Files

+ 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. [SOLVED] Index Match Multiple results
    By kashifshahzad in forum Excel General
    Replies: 7
    Last Post: 03-21-2017, 11:14 AM
  2. Multiple results Index Match
    By vortexx in forum Excel General
    Replies: 4
    Last Post: 05-09-2016, 03:51 AM
  3. [SOLVED] Sum of multiple index/match results
    By kawaik in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-25-2015, 10:03 PM
  4. [SOLVED] Index, Match, Multiple Results
    By ecorf in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-28-2013, 11:37 AM
  5. Index/Match with multiple results
    By amcghee1 in forum Excel General
    Replies: 4
    Last Post: 10-18-2012, 12:15 PM
  6. Need help with Index + Match Multiple Results
    By xenohadden in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-11-2012, 05:00 PM
  7. Index and Match and multiple results
    By mike2bf in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-06-2008, 04:10 PM

Tags for this Thread

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