Hello all!
I want my formula to yield the value associated to the top 3 highest values in a column when evaluating only certain rows.
My best attempt does not yield something that makes sense:Formula:
=MATCH(IF(B2:B26="Consultants",LARGE(C2:C26,1),0),C2:C26,0)
Using the example with the 3 projects below (project # are in column A), i would want the formula to:
(1) Look only for "Consultants" costs in column B;
(2) Find in column C the highest value associated to the "Consultants" rows;
(3) Return the project number from column A as the result of the formula
In this case the result i am looking for would be "2946".
Example:
A B C
2946 Learning Door Project 10.5138
2946 Hardware 0
2946 Software 0
2946 Internal Salaries 0
2946 Consultants 10.5138
2946 Consultants C Tfr from Opex 0
2946 Consultants T Tfr from Opex 0
2946 Intercos 0
2946 Other 0
2953 Q3 Q4 2012 Relations -1.2375
2953 Hardware 0
2953 Software 0
2953 Internal Salaries 0
2953 Consultants 0
2953 Consultants C Tfr from Opex 0
2953 Consultants T Tfr from Opex -1.2375
2953 Intercos 0
2953 Other 0
2965 FE + SE Maintenance 1.6418
2965 Hardware 0
2965 Software 0
2965 Internal Salaries 0
2965 Consultants 1.6418
2965 Consultants C Tfr from Opex 0
2965 Consultants T Tfr from Opex 0
2965 Intercos 0
2965 Other 0
Any help would be GREATLY appreciated! My spreadsheet has over a thousand projects...
Thanks in advance for your inputs!
CT
Bookmarks