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.
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.
Thanks! The VLookup suggestion was very helpful.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks