Hello, I am new to the more complex side of using Excel, but can I find a specific word or phrase in a cell that contains a sentence? For instance in the following I want to find the word corrosion and return corrosion.
MODERATE CORROSION IN SITE WEATHER COVER
I made a separate table with two columns, The first is the word I want to find and the second is the word I want to be placed in a cell which is the "Catagory". This is a sample of the reduction table:
<tbody>
</tbody>
This is the command that I have used in the past to find an element then return something else:
=VLOOKUP(F2,Sheet1!$A$1:$B$36,2)
But it is searching the first column returning the 3rd column: (Ideally I would like to be able to use the tool to search through both the 1st column and the second column and return the value it finds in the 3rd column.)
<tbody>
</tbody>
So as you can see it is not functioning the right way. Is there a better way to perform this task. I have been told nested IF statements could work, but the reduction table could potentially be over 100 items.
Basically I am trying to find a way to use a table of values to reduce a large list of problems into a definitive list of issues. The alternative is to look at the data line by line and type the "Category" manually.
I will apologize in advance because I am trying to explain it as best as I can, but it is a hard problem to define. Thanks in advance for any help on this topic. If anything is not clear I can attempt another explanation.
MODERATE CORROSION IN SITE WEATHER COVER
I made a separate table with two columns, The first is the word I want to find and the second is the word I want to be placed in a cell which is the "Catagory". This is a sample of the reduction table:
Change Key | Tumblers |
Corrosion | Corrosion |
Serial | Serial Number |
<tbody>
</tbody>
This is the command that I have used in the past to find an element then return something else:
=VLOOKUP(F2,Sheet1!$A$1:$B$36,2)
But it is searching the first column returning the 3rd column: (Ideally I would like to be able to use the tool to search through both the 1st column and the second column and return the value it finds in the 3rd column.)
SITE IS CORRODED BEYOND TOLERANCE | INW/ SITE C/C IN PROGRESS (PRIMED & 1ST TOPCOAT DONE) | 0 |
ERROR, UNRESTABLE IZ, REQS C/O | REPLACED SYSTEM DO TO BAD PART | Corrosion |
SITE HAS EXCESSIVE CORROSION | INW - SITE C/C IN WORK | 0 |
<tbody>
</tbody>
So as you can see it is not functioning the right way. Is there a better way to perform this task. I have been told nested IF statements could work, but the reduction table could potentially be over 100 items.
Basically I am trying to find a way to use a table of values to reduce a large list of problems into a definitive list of issues. The alternative is to look at the data line by line and type the "Category" manually.
I will apologize in advance because I am trying to explain it as best as I can, but it is a hard problem to define. Thanks in advance for any help on this topic. If anything is not clear I can attempt another explanation.