Jon asks "I am using the the Max function, and have a table for which i want to show the largest value. I do not want the actual value to be shown though, i want the corresponding title to be shown how do I do this? The Table looks like this(though on a larger scale): C other columns Q Crisps 100 Chocolate 345 Sweets 54 How do i get it (without using IF as the table is much too big) to show for the maximum value 'Chocolate' instead of '345'"
If you need multiple IF's, chances are that you're using the wrong formula !!... try with this one instead:
=INDEX(C:C,MATCH(MAX(Q:Q),Q:Q,0))
By Juan Pablo Gonzalez on 01-Mar-2002
MrExcel.com Consulting can be hired to implement this concept, or many other cool applications, with your data.
MrExcel.com provides examples of Visual Basic procedures for illustration only, without warranty either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. The Visual Basic procedures on this web site are provided "as is" and we do not guarantee that they can be used in all situations.
|