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

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
=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,214,950
Messages
6,122,436
Members
449,083
Latest member
Ava19

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