Search for text in string then lookup text in a separate table and show result

dino2176

New Member
Joined
Jan 26, 2018
Messages
4
Hello everyone,

First time poster, using excel 2007 installed Mrexcel HTML maker, didnt appear in excel, forum tools addin was pasting extra data per the test forums. I am sorry in advance for doing this the hard way.

I have data in the DATA column, and I want to search whats in the LOOKUP STRING table and give the corresponding result from the table. Thankyou all in advance !

Bananboat Cleaner 435353
Banaboat Cleaner 546456546Lookup StringResult
Cleaner 475464
Sydney Electricity 465464
Melbourne Electricity 46546464
Electricity fjfh6765
576567 Electricity
Electricity
Fiacon
Flexirent
Fuji Xerox fggdfgd55
hgfhf Fuji Xerox
Macquarie 44498
999 Macquarie 987456

<tbody>
[TD="class: xl64"]Data[/TD]
[TD="class: xl64, width: 128, colspan: 2"]Formula Result[/TD]
[TD="width: 64"][/TD]
[TD="width: 92"][/TD]
[TD="width: 64"][/TD]

[TD="align: right"]2000[/TD]

[TD="align: right"]2000[/TD]

[TD="align: right"]2000[/TD]

[TD="class: xl67"]Cleaner[/TD]
[TD="class: xl65, align: right"]2000[/TD]

[TD="align: right"]3000[/TD]

[TD="class: xl68"]Electricity[/TD]
[TD="class: xl66, align: right"]3000[/TD]

[TD="align: right"]3000[/TD]

[TD="class: xl68"]Fiacon[/TD]
[TD="class: xl66, align: right"]4000[/TD]

[TD="align: right"]3000[/TD]

[TD="class: xl68"]Rent[/TD]
[TD="class: xl66, align: right"]5000[/TD]

[TD="align: right"]3000[/TD]

[TD="class: xl68"]Fuji[/TD]
[TD="class: xl66, align: right"]6000[/TD]

[TD="align: right"]3000[/TD]

[TD="class: xl68"]Macquarie[/TD]
[TD="class: xl66, align: right"]7000[/TD]

[TD="align: right"]4000[/TD]

[TD="align: right"]5000[/TD]

[TD="align: right"]6000[/TD]

[TD="align: right"]6000[/TD]

[TD="align: right"]7000[/TD]

[TD="align: right"]7000[/TD]

</tbody>
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Unknown
ABCDE
1DataFormula Result
2Bananboat Cleaner 4353532000
3Banaboat Cleaner 5464565462000Lookup StringResult
4Cleaner 4754642000Cleaner2000
5Sydney Electricity 4654643000Electricity3000
6Melbourne Electricity 465464643000Fiacon4000
7Electricity fjfh67653000Rent5000
8576567 Electricity3000Fuji6000
9Electricity3000Macquarie7000
10Fiacon4000
11Flexirent5000
12Fuji Xerox fggdfgd556000
13hgfhf Fuji Xerox6000
14Macquarie 444987000
15999 Macquarie 9874567000
16
17
Sheet9
Cell Formulas
RangeFormula
B2=SUMPRODUCT(ISNUMBER(SEARCH($D$4:$D$9,A2))*$E$4:$E$9)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,958
Messages
6,175,633
Members
452,661
Latest member
Nonhle

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