+ Reply to Thread
Results 1 to 3 of 3

Thread: Lookup and Filtering

  1. #1
    Registered User
    Join Date
    12-08-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2007
    Posts
    61

    Lookup and Filtering

    In column A I have a list of names, each unique. In column B I have a function that calculates a number specific for the name in column A.

    However, in one row, I would like to modify the formula in column B to lookup a certain name in column A and return .75 multiplied by the corresponding value in column B.

    This is what I was thinking:

    =Lookup("Column A Value of Interest", A:A, B:B) * .75

    This works well, but when sorting the columns in a way that changes the row's positions, the formula does not hold true. Any suggestions on a formula that would accomplish what I've described above and also can withstand sorting?

    Thanks!
    Last edited by dforte; 11-22-2011 at 01:30 PM.

  2. #2
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: Lookup and Filtering

    Lookup needs the column A items to be sorted in ascending order..

    If you want an exact match, and the list may not be sorted, then try VLOOKUP

    eg.

    =VLookup("Column A Value of Interest", A:B,2,FALSE) * .75
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Registered User
    Join Date
    12-08-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2007
    Posts
    61

    Re: Lookup and Filtering

    Thanks! The VLookup suggestion was very helpful.

+ 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