partial match of values in one column with the values in another.

chips

Board Regular
Joined
Oct 21, 2008
Messages
52
Hello

I have 2 columns, i have been trying to find a way to match the values in one column with the next, the cells are a mess so no exact match is possible. I would like the results of possible matches to be displayed in the following columns Is in Pyxis and Is in Imprest.

So happy for a solution in vba or worksheet function.

below is the table

mighty thanks for your help


Is in Pyxis?ImprestIS in Imprest Y/NPyxis
formula here Adenosine (Adenocor) Injection 6mg/2mL (6)formula here adenosine 6 mg (2 mL) Injection
Adrenaline (epinephrine) 1:10,000 (Adrenaline - Link 100338) Injection 1mg/10mL, 10mL (10)adenosine 6 mg (2 mL) Injection
Adrenaline (epinephrine) 1:10,000 (Aguettant) PREFILLED SYRINGE 1mg/10mL, 10mL (10)adrenaline (epinephrine) 1:1,000 1 mg (1 mL) Injection
Adrenaline (epinephrine) 1:1000 (Aspen) Injection 1mg/mL, 1mL (5)adrenaline (epinephrine) 1:1,000 1 mg (1 mL) Injection
Aminophylline (DBL) Injection 250mg/10mL (5)adrenaline (epinephrine) 1:10,000 1 mg (10 mL) Injection
Amiodarone (Cordarone X) Injection 150mg/3mL (6)adrenaline (epinephrine) 1:10,000 1 mg (10 mL) Injection
Ampicillin (Austrapen) Injection 1g (5)adrenaline (epinephrine) 1:10,000 1 mg (10 mL) Prefilled Syringe
Aqueous Cream (Pharmacy Select) Cream 100g (1)adrenaline (epinephrine) 1:10,000 1 mg (10 mL) Prefilled Syringe
Atracurium (Tracrium) Injection 25mg/2.5mL (5)Albumin, Human 200 g/1 L (100 mL) Bottle
Atropine (Pfizer) Injection 1.2mg/mL, 1mL (50)Albumin, Human 40 g/1 L (500 mL) Bottle
Benzatropine (Phebra) Injection 2mg/2mL (5)alfentanil 1 mg (2 mL) Injection
Benzoin Compound (Friar's balsam) Tincture 25mL (1)alfentanil 1 mg (2 mL) Injection
Benzylpenicillin (BenPen) Injection 1.2g (1)alfentanil 5 mg (10 mL) Injection
Benzylpenicillin (BenPen) Injection 600mg (1)alfentanil 5 mg (10 mL) Injection
Betamethasone (Celestone Chronodose) Injection 5.7mg/mL (5)amiNOPHYLLine 250 mg (10 mL) Injection
Bismuth - Iodoform - Paraffin (BIP Paste Gauze) Dressing 12.5mm x 1m (1)amiNOPHYLLine 250 mg (10 mL) Injection
Bupivacaine - Glucose (Marcain Spinal Heavy) Injection 0.5%-8% (5 x 4mL)amiODAROne 150 mg (3 mL) Injection
Bupivacaine (Marcain Epidural) Epidural infusion 0.125%, 200mL (5)amiODAROne 150 mg (3 mL) Injection
 

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.
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Given that sample data, can you manually insert the results that you would expect in those two columns and post again? Then explain, at least for a couple of them in each column, how you got those results manually.
 
Upvote 0

Forum statistics

Threads
1,213,534
Messages
6,114,186
Members
448,554
Latest member
Gleisner2

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