+ Reply to Thread
Results 1 to 11 of 11

Dynamic Formula Extract Data for multiple criteria

  1. #1
    Registered User
    Join Date
    08-08-2007
    Posts
    80

    Dynamic Formula Extract Data for multiple criteria

    Basing my formula via this video:

    http://www.youtube.com/watch?v=NbP-dHau9-I

    Pretty powerful tool. I have setup the initial SUMPRODUCT, with some help from this forum.

    I am setting up a translation exists formula and am running into issues. I am SUMPRODUCT to get the overall count that follows the two breakdown areas:

    1) no translations but installation exists
    2) translations exist but no installations exist

    The formula I have created to make this dynamic, as items change the list will change, is below:

    FORMULA #1 for No Translations, installations exist

    Please Login or Register  to view this content.
    FORMULA #2 for Translations, no installations exist

    Please Login or Register  to view this content.
    Right now the formula is pushing back a #REF, and I am unsure why. It might be because part of this formula is trying to pull in information that is not a number but text. However, as you can see the second formula shows blanks for the "11" items that do exist, but then the REF appears in the 11th line, so I know I am close on this one.

    Any help working through this would be helpful. thanks!
    Attached Files Attached Files
    Last edited by Karroog; 10-13-2014 at 10:33 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    04-09-2013
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: Dynamic Formula Extract Data for multiple criteria

    Hi,

    This part of your formula is wrong INDIRECT($A$9).

    You should put the range as an array in INDEX function from where you want the result. Secondly I doubt this part also ROWS(A$10:A10)=$D$4 and ROWS(A$10:A10)=$D$3. Do you want the oput put in that row only or on all the rows less than the numbers in D4 &D3?

  3. #3
    Registered User
    Join Date
    08-08-2007
    Posts
    80

    Re: Dynamic Formula Extract Data for multiple criteria

    Quote Originally Posted by misrasomendra View Post
    Hi,

    This part of your formula is wrong INDIRECT($A$9).

    You should put the range as an array in INDEX function from where you want the result. Secondly I doubt this part also ROWS(A$10:A10)=$D$4 and ROWS(A$10:A10)=$D$3. Do you want the oput put in that row only or on all the rows less than the numbers in D4 &D3?
    The Rows item area is for when I expand the list to incorporate every single instance counted in from the SUMPRODUCT Function. The Rows expand from A10 to A whatever depending on how many I am trying to populate.

    Since D3 = 1, only 1 row will be populated based upon the translation and base hurdle.

    Same for D4, it will expand to 11 rows based upon the SUMPRODUCT hurdle.

    Would this ROW section be causing the REF#?

    I am a bit confused on the indirect assessment, anyway you could explain in more detail would be helpful.

  4. #4
    Valued Forum Contributor
    Join Date
    04-09-2013
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: Dynamic Formula Extract Data for multiple criteria

    INDIRECT is causing REF# error. Can you upload a sample file, without any formula just with manual output.

    Regards,

  5. #5
    Registered User
    Join Date
    08-08-2007
    Posts
    80

    Re: Dynamic Formula Extract Data for multiple criteria

    the first post contains the original formula and the manual input data.

  6. #6
    Valued Forum Contributor
    Join Date
    04-09-2013
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: Dynamic Formula Extract Data for multiple criteria

    No please put values you expect in the cells where you are putting the formula. Remove formulas and put values in the cells where you have formula right now.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Dynamic Formula Extract Data for multiple criteria

    This part of your formula ...
    INDEX(INDIRECT($A$9)
    is looking for (I presume) a range name that is to be found in A9?

    A9 contains "PRODUCT #1" but no such product name exists. The 1st part of INDEX needs to be a range or array.

    Im not really sure what you are trying to do there, but it looks like you are trying to pull in languages based on something? Perhaps if you provided a few sample answers, it would be easier to offer suggestions?

    Also, Im not sure that it really matters, but it might make things simpler to understand (in the formulas) if your range names were not so long
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  8. #8
    Registered User
    Join Date
    08-08-2007
    Posts
    80

    Re: Dynamic Formula Extract Data for multiple criteria

    Attached is a "manually entered" with no formula of what I believe it should produce once this is all set.

    Any help would be great. Thank you.
    Attached Files Attached Files

  9. #9
    Valued Forum Contributor
    Join Date
    04-09-2013
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: Dynamic Formula Extract Data for multiple criteria

    See the file.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    08-08-2007
    Posts
    80

    Re: Dynamic Formula Extract Data for multiple criteria

    Quote Originally Posted by misrasomendra View Post
    See the file.
    Hi there. This works great!!

    My first concern though is tied to the "PRODUCT" area. I missed this in the initial example I sent out, but there will be a potential for multiple different products within the Sheet1 area as I'm going to build it as a roll-up for different product lines. I feel as if the Sheet2 will not focus on this enough, which is why I had the longer formula for that column within my original example.

    Attached for you to review.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    08-08-2007
    Posts
    80

    Re: Dynamic Formula Extract Data for multiple criteria

    Quote Originally Posted by Karroog View Post
    Hi there. This works great!!

    My first concern though is tied to the "PRODUCT" area. I missed this in the initial example I sent out, but there will be a potential for multiple different products within the Sheet1 area as I'm going to build it as a roll-up for different product lines. I feel as if the Sheet2 will not focus on this enough, which is why I had the longer formula for that column within my original example.

    Attached for you to review.
    NEVERMIND, I got it. thanks again!

+ 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. Replies: 2
    Last Post: 04-09-2014, 03:05 PM
  2. [SOLVED] Extract data based on multiple substring criteria
    By jspharriola in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-10-2013, 01:50 AM
  3. Extract data from Excel Worksheet using multiple criteria
    By Beudean Dorin in forum Excel General
    Replies: 0
    Last Post: 03-26-2013, 01:31 PM
  4. Extract Data Based on Multiple Criteria
    By trevaaaaaaa in forum Excel General
    Replies: 2
    Last Post: 03-14-2012, 11:42 AM
  5. Replies: 2
    Last Post: 03-23-2011, 06:19 PM

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