vlookup contains?

stevotsky

New Member
Joined
Oct 15, 2006
Messages
11
I have a spreasheet with the following data

Column1
Purchasing
Sales
Payroll
401
w/o
Without
Bonus
4/4/5
4-4-5
4.4.5
Amortize
100-200
OH


Column2
A/P
A/R
Honey
401(K)
100-200 REC
100-200 REC
Bonus
4/4/5 REC
4/4/5 REC
4/4/5 REC
Prepaids
100-200 REC
OH Alloc

Column3
401-k-payment
payroll raise
sales pitch in MN etc


I would like to create a formula that looks up values in column 1 to see they are part of those in column3 (for example 401 is part of 401-k-payment). If that is true, then I want column 4 to give me 401(k) - the value in column2.

Thanks for your help.
 
Last edited:

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,225,398
Messages
6,184,728
Members
453,254
Latest member
topeb

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