+ Reply to Thread
Results 1 to 7 of 7

Formula to extract data

  1. #1
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Formula to extract data

    I would like a formula to extract data based on 3 conditions (data validation conditions) if an item is selected from any of the data validation drop down option. Desired outcome is in green color.

    I have attached a sample Excel file for your convenience.

    Thanks in advance.
    Attached Files Attached Files
    Last edited by bjnockle; 06-01-2014 at 10:45 AM.

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formula to extract data

    Use this formula in K6

    Copy formula down and across.

    =SUMIFS(E$3:E$26,$B$3:$B$26,$J6,$C$3:$C$26,$J$3,$D$3:$D$26,$K$3)

    or

    =SUMPRODUCT(($B$3:$B$26=$J6)*($C$3:$C$26=$J$3)*($D$3:$D$26=$K$3)*(E$3:E$26))
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Formula to extract data

    AlKey: thanks for the suggested formula for the target criteria. It works great. I would like a column J to change (product list) when either West or East is selected from the drop down option.

    Thanks

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formula to extract data

    It will change. I think the reason you don't see it is because Product 1, 2 and 5 are not listed with East criteria. If you create a validation list for all listed Products then you should be able to see all of the results.

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formula to extract data

    Please see attached file. I also added a formula that will populate Product list based on the selection in cell J3. I think this is what your were asking?
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Formula to extract data

    Alkey: Thank you - the suggested formula works like a charm. You are a genius!

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formula to extract data

    You're welcome and thank you for the feedback!

+ 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: 3
    Last Post: 12-18-2014, 10:27 AM
  2. Extract Data from one sheet to another based on criteria
    By alghareeb in forum Excel General
    Replies: 1
    Last Post: 05-08-2013, 09:16 AM
  3. [SOLVED] Extract certain data based on two criteria
    By sam-0987 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-05-2013, 01:23 AM
  4. [SOLVED] Extract data based on 1 criteria
    By TexasRhode in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-06-2012, 06:08 PM
  5. Extract Data Based on Multiple Criteria
    By trevaaaaaaa in forum Excel General
    Replies: 2
    Last Post: 03-14-2012, 11:42 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