Partial Text Help!

OmerT

New Member
Joined
Jun 9, 2022
Messages
1
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
I have a long list of error. I need to make a separate vlook table. For example, in the example below. I want to make a lookup table that says: "Only one allowed per shipment" and then I want my formula to ignore the "supplier","warehouse" and "product" part in the table below give me "1" as the error reason. I tried doing partial text but seems like it works better for continous words. Can you please help me.

Error Error Number
Only one supplier is allowed per shipment1
Only one warehouse allowed per shipment 1
Only one product allowed per shipment1
Purchase order ABC1234 does not exist in whse: MBA4
Purchase order ABC2345 does not exist in whse: BNA4
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Welcome to the MrExcel board!

Your requirement is completely unclear to me. Perhaps you could give some small sample data and expected result(s) with XL2BB and explain again in relation to that sample data.
 
Upvote 0

Forum statistics

Threads
1,215,036
Messages
6,122,796
Members
449,095
Latest member
m_smith_solihull

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