+ Reply to Thread
Results 1 to 6 of 6

Thread: Auto Filter cells that are populated with vlookup

  1. #1
    Registered User
    Join Date
    12-08-2011
    Location
    CO
    MS-Off Ver
    Excel 2010
    Posts
    3

    Auto Filter cells that are populated with vlookup

    Hi all,
    I have vlookups populated my cells and I'm trying to use the filter function, top 10 for example but the filter does not work. Is there a way to work around so the filter will work on cells with vlookup?
    Thanks
    Matthew
    Last edited by bearclaw; 12-09-2011 at 11:23 AM.

  2. #2
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    1,974

    Re: Auto Filter cells that are populated with vlookup

    Hi Matthew,

    Hello and welcome to the forum. Sorry, but I can't reproduce your problem. I just created a table and used vlookup on it and added the filter. Everythign is working just fine (sort, top 10, filter, sort by color, etc.). Could you upload a dummy copy of your worksheet that is causing the problem? If not, could you provide us with the exact forumula that you are using (this being a second, but leass prefereable option).

    abousetta
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  3. #3
    Registered User
    Join Date
    12-08-2011
    Location
    CO
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Auto Filter cells that are populated with vlookup

    Hello Abousetta,
    Thanks for the quick feedback. I think I found the error. When there is a #N/A for a cell the auto filter will not work. Is there a solution for this as I don't want to remove the cells with #N/A because they populate based upon the data changing daily.
    thanks
    Matthew

  4. #4
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    1,974

    Re: Auto Filter cells that are populated with vlookup

    Since you are using Excel 2010 then I would cushion the vlookup with an IFERROR statement. Something like:

    =IFERROR(VLOOKUP(A2,B2:G5,2,0),"")
    Hope this helps.

    abousetta
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  5. #5
    Registered User
    Join Date
    12-08-2011
    Location
    CO
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Auto Filter cells that are populated with vlookup

    Works great! Thanks for the tip.

  6. #6
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    1,974

    Re: Auto Filter cells that are populated with vlookup

    Glad it all worked out. If you are satisfied with the response then please mark the thread as Solved.

    Good luck.

    abousetta
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

+ 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.2.0