+ Reply to Thread
Results 1 to 4 of 4

Using Vlookup for multiple conditions

  1. #1
    Registered User
    Join Date
    07-05-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    7

    Using Vlookup for multiple conditions

    Hi,

    I've looked around on previous posts to fix my problem, but I have not had any luck getting this to work.

    I am putting together a spreadsheet that shows all the different funds for different people. The spreadsheet shows the history of when the funds were added, and when they were deleted. I need a way to filter the data so that when I filter it just to show just the "added" funds, I will get only the funds that have not been deleted. Otherwise when I filter them to get just the "added" funds, I will get funds that show up as added, but really were deleted.

    I've attached a mock spreadsheet as an example. I hope this explanation wasn't too confusing.
    Thanks a lot in advance for any help.

    (Oh also ignore column c (ticker) on the spreadsheet it is not important.)

    Fund Spreadsheet example.xlsx

  2. #2
    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,959

    Re: Using Vlookup for multiple conditions

    Hi and welcome to the forum

    have you tried to filter on D - uncheck everyrthing but ADD?
    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

  3. #3
    Registered User
    Join Date
    07-05-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Using Vlookup for multiple conditions

    Yes that is the problem. If I do that it will show only "add funds". But some of those "add funds" have been deleted. Not literally deleted off the spreadsheet, but re-entered in as deleted. The spreadsheet is a history so it shows past funds even if they are no longer in use, or "added".

    So for example if I enter in fund Z, on 1/2/12, it is an "added" fund. If I delete the fund, it stays the same on the spreadsheet and we just add a new entry for fund Z with a new date, that says it has been deleted (del).

    So when I sort them to only show the "add files" it shows old "add files" that have other entries saying they are deleted. What I'm trying to do is sort it so these old files do not show up.

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

    Re: Using Vlookup for multiple conditions

    OK I understand. Try this...

    Use a helper column, and copy this down...
    =COUNTIF($B$2:$B$13,B2)
    then filter on 1
    Last edited by FDibbins; 07-05-2013 at 06:18 PM.

+ 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