+ Reply to Thread
Results 1 to 3 of 3

Filter by Function

  1. #1
    Registered User
    Join Date
    01-20-2010
    Location
    bangladesh
    MS-Off Ver
    Excel 2007
    Posts
    49

    Filter by Function

    Hi
    I have Data with column A to Column C
    for Example in A column Vaules are 1,2,2,3,1,4,1,5,6,2,4......
    and in B column Vaules are a,b,c,d,e,f,g,h,i,j,l,m,n,o,p.....
    Now I need to Develop a formula in other sheet so that
    Value of Cell A2 is as input. and result will be:
    if A2=1 then
    A3=1 and B3= a
    a4=1 and B4= e
    a5=1 and b5= g
    Is it possible with formula only? I dont want to use any VBA
    thanks

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Filter by Function

    hi arctushar, do upload a sample Excel file next time so that we do not have to re-create your data to test. assuming data in Sheet1, try this in A3 of the other sheet:
    =IFERROR(INDEX(Sheet1!A$1:A$20,SMALL(IF(Sheet1!$A$1:$A$20=$A$2,ROW(Sheet1!A$1:A$20)-ROW(Sheet1!$A$1)+1),ROWS(A$3:A3))),"")
    ...confirmed by pressing CTRL-SHIFT-ENTER to activate the array. 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.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    01-20-2010
    Location
    bangladesh
    MS-Off Ver
    Excel 2007
    Posts
    49

    Re: Filter by Function

    Would u plz explain how it is working?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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