How do I create a function to search a range for a number and...
then return the value of the cell next to that number to a given cell?
|
How do I create a function to search a range for a number and...
With limited information, here is an example you can adjust:
Put some text in A1 to F1 Put some numbers in A2 to F2 Then in a cell somewhere put: =INDEX($A$1:$F$1,MATCH(LARGE(A2:F2,2),A2:F2,)) This will look for the second largest number from row 2 and return the adjacent text from row 1. HTH GerryK "NECCExcel" wrote: then return the value of the cell next to that number to a given cell? |
How do I create a function to search a range for a number and...
You can use the VLOOKUP function to do this. See help for more
details. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "NECCExcel" wrote in message ... then return the value of the cell next to that number to a given cell? |
All times are GMT +1. The time now is 02:38 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com