Word Matching & Ranked list

psuLemon

New Member
Joined
Aug 10, 2009
Messages
42
Everyone,

I am having some trouble even figuring out where to start on this project. Essentially, I am trying to do a search of a set of words and based on their rank within the category, I want to return the highest value. For example

Apple>Banana>Coconut



Column "A" would have one of those words in it. In B2 I want it to be able to search all of column "A" and return the highest value. So if column "A" had Banana and Coconut, I want it to return banana. Anyone able to help on this? I have been trying everything from a sumproduct to a isnumberserach without luck.

Thanks,


Lemon
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
=IF(ISNUMBER(SEARCH("Apple",A1&A2&A3&A4)),"Apple",IF(ISNUMBER(SEARCH("Banana",A1&A2&A3&A4)),"Banana","Coconut")))

So I got this to work. Is there an easier way to seach a range of rows? Because if I have 50 rows of information, I won't have enough room to write the formula
 
Upvote 0
Not tested thoroughly, try something on the basis of
Excel Workbook
ABCD
2appleorangebanana
3bananabanana
4coconut
5orange
6pear
Sheet
 
Upvote 0

Forum statistics

Threads
1,224,583
Messages
6,179,682
Members
452,937
Latest member
Bhg1984

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top