Hi, I wrote this formula for ur purpose. =IF(RANK($A2,$A2:$D2,1)=F$1,$A$1,IF(RANK($B2,$A2:$D2,1)=F$1,$B$1,IF(RANK($C2,$A2:$D2,1)=F$1,$C$1,$D$1)))
See the attached sheet for reference. Let me know if this helps. On Sat, May 9, 2009 at 8:53 PM, subs <subbu1...@gmail.com> wrote: > > ca1 ca2 ca3 ca4 > > > 12 123 1 23 > > > 7 8 9 5 > > > 4 6 7 6 > > > i have tthe above exel data with coln names as ca1,ca2,ca3 etc . i > need the result like > > > > > ca1 ca2 ca3 ca4 rank1 rank2 rank 3 > > > 12 123 1 23 ca3 ca4 ca1 > > > 7 8 9 5 ca4 ca1 ca2 > > > 4 6 7 6 ca1 ca2 ca4 > > > > rankings are based on the minimium values. but i need to get the name > of the column under the ranking fields. for example in the first row > min value is 1 but i need the name of the column i.e ca3. this is for > all the rows. > > > > Pls help thanks > > > > > -- Regards, Praveen KVC Member of Peepal Tree --~--~---------~--~----~------------~-------~--~----~ ------------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---
Rank.xls
Description: MS-Excel spreadsheet