+ Reply to Thread
Results 1 to 7 of 7

How to get data from by looking up criteria in multiple sheets

  1. #1
    Registered User
    Join Date
    08-24-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    17

    How to get data from by looking up criteria in multiple sheets

    Hi,
    Can someone help me on this, trying to sumproduct across multiple sheets using iferror function, but it didn't work.

    =IFERROR(SUMPRODUCT(('Welded Asly'!A10:$A$500=F2)*('Welded Asly'!C10:$C$500=D2)*'Welded Asly'!D10:$D$500),SUMPRODUCT((Components!A15:$A$500=F2)*(Components!C15:$C$500=D2)*Components!D15:$D$500))

    Regards
    Attached Files Attached Files
    Last edited by amjad831001; 08-13-2019 at 05:14 AM. Reason: Correction in Title

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Iferror & Sumproduct, What's wrong!!

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Iferror & Sumproduct combination

    That title is no better, please use a title that describes what you are trying to do without using words like IFERROR, SUMPRODUCT, or any other excel function / formula names.

    There is nothing in your formula that should cause an error so you need to rethink the whole question (that does not mean start another thread!)

  4. #4
    Registered User
    Join Date
    08-24-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Iferror & Sumproduct combination

    My bad for the title not being upto mark , tried to change title again.
    But, i think you got what i'm trying to achieve from the attached sample sheet.
    However it is not working for me, think there must be some changes that needs to be made in the formula, please help.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: How to get data from by looking up criteria in multiple sheets

    The title is now fine.

    No, I do not get what you are trying to do at all.

    Please explain in WORDS what you are attempting to do. Be explicit.

  6. #6
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: How to get data from by looking up criteria in multiple sheets

    IFERROR is used to detect errors, #VALUE! #N/A #REF! #NUM! #NAME? #DIV0! or #NULL!

    Anything else, such as sumproduct returning 0 when you expect something else is not an error, it is an incorrect result.

    You can do it with iferror, but you need to trick excel into thinking that 0 is an actual error first, division by 0 is the easiest way as it forces a #DIV/0! error whenever sumproduct returns 0
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    08-24-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: How to get data from by looking up criteria in multiple sheets

    Thx jason.b75....for your valuable suggestion!!!It worked.

+ 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. What's wrong with my formula =IFERROR('DATA EXPORT - RAW ORDERS'!B1),"")
    By preveo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-13-2018, 09:26 AM
  2. Iferror(sumproduct) to sort by due date
    By mmccra2858 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-07-2017, 06:08 PM
  3. Iferror(sumproduct) count only when cell has a date
    By mmccra2858 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-07-2017, 05:28 PM
  4. [SOLVED] =IFERROR / SUMPRODUCT - Search for year total?
    By domgilberto in forum Excel General
    Replies: 5
    Last Post: 05-20-2014, 05:56 AM
  5. 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
  6. Replies: 10
    Last Post: 11-06-2012, 08:31 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