How to match and assign a brand to text in excel

banme

New Member
Joined
Sep 23, 2016
Messages
33
Hi i have excel sheet with lot of data , in one cell i have cars name modal name and brand name in other cell i have brands name only .
look like this
Code:
<code>---------------------------------------
| Cell A      | Cell B |  Cell C      |        
|-------------------------------------|
| Gt-44rs-Ford|        |<code>Ferrari</code>       | 
|-------------------------------------|
|mercedes c63 |        |toyota        |
|-------------------------------------|
|Ferrari 458  |        |<code>audi   </code>       |
|-------------------------------------|
|<code>gt </code>audi  car |        |Ford          |
|-------------------------------------|
|toyota supra |        |mercedes benz |
|-------------------------------------|
</code>


i want "cell C" Values match with "Cell A" and in "Cell B " that brand name print. look like this
Code:
<code></code>
<code>---------------------------------------
| Cell A      | Cell B |  Cell C      |        
|-------------------------------------|
| Gt-44rs-Ford|<code>Ford </code>   |<code>Ferrari</code>       | 
|-------------------------------------|
|mercedes c63 |<code>mercedes</code>|toyota        |
|-------------------------------------|
|Ferrari 458  |<code><code>Ferrari</code></code> |<code>audi   </code>       |
|-------------------------------------|
|<code>gt </code>audi  car |<code><code>audi</code></code>    |Ford          |
|-------------------------------------|
|toyota supra |<code>toyota</code>  |mercedes benz |
|-------------------------------------|
</code>
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Re: How to match and assiagn barnd to text in excel

This will work for items that are identical will not work with Mercedes since it is Mercedes Bens in one list and Mercedes in the other. I suggest just using Mercedes
A
B
C
1
GT-44rs-ford
Ford
Ferrari
2
Mercedes c63
Mercedes
Toyota
3
Ferrari 458
Ferrari
Audi
4
gt audi car
Audi
Ford
5
toyota supra
Toyota
Mercedes

<tbody>
</tbody>


In B1 and copy down
Code:
=LOOKUP(2^15,SEARCH($C$1:$C$5,A1),$C$1:$C$5)
 
Upvote 0
Re: How to match and assiagn barnd to text in excel

thanks , its work , just one thing more can we modifies this formula that if no brand name match then that assign to other cars . anyways this is such a helpful my lot of time save . thanks again .
 
Upvote 0
Re: How to match and assiagn barnd to text in excel

just one thing more can we modifies this formula that if no brand name match then that assign to other cars.

Not quite sure what you want.
 
Upvote 0

Forum statistics

Threads
1,214,988
Messages
6,122,620
Members
449,092
Latest member
amyap

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