+ Reply to Thread
Results 1 to 5 of 5

Problem with the getting all locations sales using iferror, index, match

  1. #1
    Forum Contributor
    Join Date
    02-19-2013
    Location
    Kuwait
    MS-Off Ver
    Excel 2013
    Posts
    115

    Problem with the getting all locations sales using iferror, index, match

    Dear All,

    I have an excel sheet where I have to collect the data for the all locations sales at one point and arriving at the consumption of certain materials.

    Now I am using iferror, index match to get the whole location data.

    However I am facing a problem, when i use sum to add all the figures in one cell.

    Any Help is highly appreciated.

    Pls see the attached file.

    Rgds
    AT.
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Problem with the getting all locations sales using iferror, index, match

    hi AT. change all the spaces for the IFERROR to zero.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    you also don't need:
    1) the brackets surrounding the formula
    2) the sheet reference 'Agg Sales'! if it's referring to the sheet the formula is in

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


    Edit: if you get rid of the extra space in the name of the "Location B " sheet, you could also use:
    =SUMPRODUCT(SUMIF(INDIRECT("'"&C1:F1&"'!A:A"),A2,INDIRECT("'"&C1:F1&"'!B:B")))
    Last edited by benishiryo; 12-10-2013 at 03:07 AM. Reason: additional info

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,366

    Re: Problem with the getting all locations sales using iferror, index, match

    =SUM(('Location A'!A2:A4=A2)*('Location A'!B2:B4))+SUM(('Location C'!A2:A4=A2)*('Location C'!B2:B4))+SUM(('Location D'!A2:A4=A2)*('Location D'!B2:B4))

    Try this Array Formula

    Azumi

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

    Re: Problem with the getting all locations sales using iferror, index, match

    Please try this file.
    Attached Files Attached Files
    Please click 'Add reputation', if my answer helped you.

  5. #5
    Forum Contributor
    Join Date
    02-19-2013
    Location
    Kuwait
    MS-Off Ver
    Excel 2013
    Posts
    115

    Re: Problem with the getting all locations sales using iferror, index, match

    @ benishiryo, Thanks, it worked perfectly Fine. it solved mu
    @Azumi & ramananhrm, Thanks, I will work on the solutions that you have provided to me.
    Its completely new to me. so will have to work out your methods.

    Thanks all again. This problem was bugging me for some time now.



+ 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. Adding IFERROR to INDEX MATCH
    By brad999 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-06-2013, 04:18 AM
  2. [SOLVED] IFERROR+INDEX+MATCH Formula is not returning the correct value
    By bxk006 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-16-2013, 09:50 AM
  3. Wrong result displaying using IFERROR-INDEX-MATCH-ROW Formula
    By paradise2sr in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-16-2013, 01:03 PM
  4. VBA Index/Match/iferror/and comparision and update file through two different sheets
    By gaurangaero in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-28-2012, 11:33 AM
  5. Looking for better formula of iferror, index and match
    By DavidRoger in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-23-2012, 07:50 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