+ Reply to Thread
Results 1 to 7 of 7

Help Needed: Getting 'Filtered' data using filter value from a cell.

  1. #1
    Registered User
    Join Date
    12-20-2014
    Location
    India
    MS-Off Ver
    office 2007
    Posts
    73

    Exclamation Help Needed: Getting 'Filtered' data using filter value from a cell.

    As in enclosed pic, I need to filter the values in column A that matches with $K$2. The filtered data from G , H, & I should be displayed in M, N & O columns..

    we may get 10-15 rows (results) for filtered value. Kindly suggest how to get this ?excel.png

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Help Needed: Getting 'Filtered' data using filter value from a cell.

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    12-20-2014
    Location
    India
    MS-Off Ver
    office 2007
    Posts
    73

    Re: Help Needed: Getting 'Filtered' data using filter value from a cell.

    Sample enclosed.

    In 'Filtered', whatever data we are getting in column G, H & I, I wish to get it by using formula in Data sheet itself in column M, N & O.
    Attached Files Attached Files

  4. #4
    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,929

    Re: Help Needed: Getting 'Filtered' data using filter value from a cell.

    Agree with Six, Please upload a sample of your workbook, not a picture of your data. Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you
    Also, not all members can upload picture files (Company firewalls and stuff)

    Your workbook should show a small desensitized example of the data you are working with and a manual mockup of the expected results.

    However, see if this ARRAY formula will give you what you need...
    =IFERROR(INDEX(F$2:F$8,SMALL(IF($A$2:$A$8=$K$2,ROW($A$2:$A$8)-1),ROWS($A$1:A1))),"")
    copied down and across (you will probably need to adjust the 1st 3 ranges in that, to suite your data)
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    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

  5. #5
    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,929

    Re: Help Needed: Getting 'Filtered' data using filter value from a cell.

    OK based on your file, the 219 is not exactly 219....
    K2=219.196267
    A2=219.1947175
    A545=219.3684262
    etc
    So I have adjusted my formula to this...
    =IFERROR(INDEX(F$2:F$3726,SMALL(IF(INT($A$2:$A$3726)=INT($K$2),ROW($A$2:$A$3726)-1),ROWS($A$1:A1))),"")

    Still ARRAY entered

  6. #6
    Registered User
    Join Date
    12-20-2014
    Location
    India
    MS-Off Ver
    office 2007
    Posts
    73

    Thumbs up Re: Help Needed: Getting 'Filtered' data using filter value from a cell.

    Thanks a lot.

    This worked well.

  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,929

    Re: Help Needed: Getting 'Filtered' data using filter value from a cell.

    Happy to help and thanks for the feedback and kind words

+ 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. Macro that can filter excel data and copy the filtered data to another worksheet
    By glide2131 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-10-2013, 02:43 PM
  2. Filter top 10 of filtered data
    By heinecorp in forum Excel General
    Replies: 2
    Last Post: 04-21-2013, 03:49 PM
  3. Help needed for linking hperlink with filtered data across sheets
    By ashtest in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-17-2012, 12:29 PM
  4. Need a macro to filter data then email filtered data through lotus notes (or print)
    By Crimson Bourne in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-17-2012, 01:26 PM
  5. filter and automatically calculate only the filtered data
    By herolindl in forum Excel General
    Replies: 5
    Last Post: 07-05-2010, 08:15 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