+ Reply to Thread
Results 1 to 4 of 4

Using DGET - Multiple Conditions ??

  1. #1
    Registered User
    Join Date
    12-11-2008
    Location
    India
    Posts
    6

    Smile Using DGET - Multiple Conditions ??

    Hi,
    I want to use the DGET command for multiple conditions... ie:

    I want to Look for a Specific Product, of Specific Size, and a specific operation, and get this operations corresponding Production value into the cell... The function has to find the values from a Database, contained in a Sheet...


    Please see the example file attachmed with this email



    http://www.fileden.com/files/2008/4/...cel%20Help.xls


    Open Sheet 1....



    Is is possible if i could Name a range, from the Product Codes, and save these into the spreadsheet?

    Please help/.

    Thanks

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Using DGET - Multiple Conditions ??

    How about using SuMPRODUCT?

    in F24 to F26

    Please Login or Register  to view this content.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Using DGET - Multiple Conditions ??

    I don't think changing the Font size will get better or more help. Please stick to the forum's default font.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Using DGET - Multiple Conditions ??

    DGET is probably not the function to use in this situation.

    DGET works with data that is in Excel's prefered lay-out.
    Each row with a unique header and no blank data rows.

    Your lay-out with different rows refering to different products is not well suited to DGET.

    On Sheet1, does the data relating to each Code/Product Name take up the same number of rows? Does each Code/Product have the same lay-out

    Code/Product/Sizes
    blank row
    5 rows for jobs.

    I note that each code might have differing numbers of sizes.
    Does each Code have 5 jobs or maybe more or less?
    Are the Code blocks arranged in order?
    Is there always a blank row below the Code/Product Name?

    My approach would be to construct a formula that (given a Code) returned the range of data associated with that code.
    Use that as a named range together with an INDEX/MATCH to get the specific data for size and job.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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