Price Lists

SD23

New Member
Joined
Aug 6, 2010
Messages
5
Hi,

I have serveral price lists that i would like to compare the prices.

I have a spreadsheet with the compare table, sheet 1 with a price list and sheet 2 with a price list.

I have got the sheet 1 price list working but i am unable to get the second price list to work as the product name is slightly different.

All of this has to work automatically as i want to be able to copy and paste new price lists in every month.

I can send a sample of the spreadsheet as not sure how to attach it

I am very greatful for any help in advance
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Excel Workbook
BCDEFGH
73Table OneTable TwoPrice from Table one% Difference
74cream1 5% 15566.00Cream1 5%653.00566-15.37%
75cream2 5% 16625.00Cream2 5%873.00625-39.68%
76cream3 5% 17351.00Cream3 5%118.0035166.38%
77cream4 5% 18405.00Cream4 5%231.0040542.96%
78cream5 5% 19260.00Cream5 5%757.00260-191.15%
79cream6 5% 19355.00Cream6 5%573.00355-61.41%
80cream7 5% 20133.00Cream7 5%24.0013381.95%
81cream8 5% 20139.00Cream8 5%338.00139-143.17%
82cream9 5% 21798.00Cream9 5%495.0079837.97%
83cream10 5% 21901.00Cream10 5%5.0090199.45%
84cream11 5% 2598.00Cream11 5%644.0098-557.14%
Sheet1
Excel Workbook
H
74-15.37%
Sheet1


Had the vlookup looking at the same cell, but this would work. It will lookup the lesser text strin, adds on the wild card and looks for one text string within another
 
Upvote 0
Except, Scottylad2, your solution won't work for his specific examples of
Price list 1

Aceclofenac 100mg tablets

Amiodarone 100mg tablets 28

Baclofen 5mg/5ml oral solution 300ml

Price list 2

Aceclofenac 100mg Tabs

Amiodarone 100mg Tabs

Baclofen 5mg/ml Liquid
 
Upvote 0
Except, Scottylad2, your solution won't work for his specific examples of
Price list 1

Aceclofenac 100mg tablets

Amiodarone 100mg tablets 28

Baclofen 5mg/5ml oral solution 300ml

Price list 2

=Vlookup(Aceclofenac 100mg&"*" Tabs

=Vlookup(Amiodarone 100mg&"*" Tabs

=Vlookup(Baclofen 5mg&"*"/ml Liquid

yes it would, in your Vlookup you would only need to lookup part of the text string you don't need to have the words in i've left black, just those in red and you don't really need all of that text either. Just the medicine name. In your table three you could have a table of just the first names of your list and return a value for comparrison from that
 
Upvote 0
I agree it would work, but wouldn't he type in the portion of the text he's looking for in each case? I was trying to find a way to automate stripping the text down to a "matchable" piece.
 
Upvote 0
I agree it would work, but wouldn't he type in the portion of the text he's looking for in each case? I was trying to find a way to automate stripping the text down to a "matchable" piece.

Could be done usng the text to column function without the need for formulas, then a vlookup as said in my earlier post
 
Upvote 0
That would work as long as there is only one product & "strength/doseage".

If there was a situation like Aceclofenac 100mg & Aceclofenac 200mg he wouldn't be matching "like" items & if concatenate was used he'd be back to square one.
 
Upvote 0

Forum statistics

Threads
1,215,006
Messages
6,122,666
Members
449,091
Latest member
peppernaut

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