Need SKU of duplicate/same items sourcing from different Suppliers with best price

raj2206

Board Regular
Joined
Jul 23, 2012
Messages
213
Hello All,

I need help on getting SKU value of duplicate/same items sourcing from different Suppliers with best price in the column F.

Col # Title
Column A Supplier Name
Column B SKU
Column C Model #
Column D Count of Model#
Column E Price After Discount
Column F Best Price SKU (Need the SKU of best Priced Vendor)

below is the sample of my data -

Supplier Name SKU Model # Count of Model# Price After Discount Best Price SKU
MAUR MAUR_A A 3 2.04
BLAC BLAC_A A 3 2.88
GREN GREN_A A 3 2.88
NORP NORP_B B 1 2.232
DANR DANR_C C 4 2.0805
BANR BANR_C C 4 2.0805
LMAR LMAR_C C 4 2.87
CANR CANR_C C 4 2.79
GRAF GRAF_D D 4 8.13
DARI DARI_D D 4 7.245
ALVN ALVN_D D 4 7.245
MART MART_D D 4 9.04
VOTN VOTN_E E 4 1.37
MART MART_E E 4 1.278
NOTN NOTN_E E 4 1.37
DARI DARI_E E 4 1.278
UAQT UAQT_F F 4 2.03
RAQU RAQU_F F 4 2.03
GMAR GMAR_F F 4 2.51
LMAR LMAR_F F 4 2.59
DARI DARI_G G 4 1.089
VERI VERI_G G 4 1.089
POLY POLY_G G 4 1.099
ALVN ALVN_G G 4 1.34
GRAF GRAF_H H 4 6.16
FRAF FRAF_H H 4 6.17
DARI DARI_H H 4 5.481
MGRM MGRM_H H 4 8.21
GREN GREN_I I 4 2.19
BLAC BLAC_I I 4 2.19
MAUR MAUR_I I 4 2.32
NGAR NGAR_I I 4 1.73
FLAC FLAC_J J 2 6.82
GRAF GRAF_J J 2 6.83
GRAF GRAF_K K 3 2.71
CSTR CSTR_K K 3 3.02
MART MART_K K 3 3.02

Thanks,
Raj
 

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.
My Apologies, I have pasted the data again with COMMA separated values, please let me know if this is acceptable.

Supplier Name,SKU,Model #,Count of Model#,Price After Discount,Best Price SKU
MAUR,MAUR_A,A,3,2.04
BLAC,BLAC_A,A,3,2.88
GREN,GREN_A,A,3,2.88
NORP,NORP_B,B,1,2.232
DANR,DANR_C,C,4,2.0805
BANR,BANR_C,C,4,2.0805
LMAR,LMAR_C,C,4,2.87
CANR,CANR_C,C,4,2.79
GRAF,GRAF_D,D,4,8.13
DARI,DARI_D,D,4,7.245
ALVN,ALVN_D,D,4,7.245
MART,MART_D,D,4,9.04
VOTN,VOTN_E,E,4,1.37
MART,MART_E,E,4,1.278
NOTN,NOTN_E,E,4,1.37
DARI,DARI_E,E,4,1.278
UAQT,UAQT_F,F,4,2.03
RAQU,RAQU_F,F,4,2.03
GMAR,GMAR_F,F,4,2.51
LMAR,LMAR_F,F,4,2.59
DARI,DARI_G,G,4,1.089
VERI,VERI_G,G,4,1.089
POLY,POLY_G,G,4,1.099
ALVN,ALVN_G,G,4,1.34
GRAF,GRAF_H,H,4,6.16
FRAF,FRAF_H,H,4,6.17
DARI,DARI_H,H,4,5.481
MGRM,MGRM_H,H,4,8.21
GREN,GREN_I,I,4,2.19
BLAC,BLAC_I,I,4,2.19
MAUR,MAUR_I,I,4,2.32
NGAR,NGAR_I,I,4,1.73
FLAC,FLAC_J,J,2,6.82
GRAF,GRAF_J,J,2,6.83
GRAF,GRAF_K,K,3,2.71
CSTR,CSTR_K,K,3,3.02
MART,MART_K,K,3,3.02
 
Upvote 0
My Apologies, I have pasted the data again with COMMA separated values, please let me know if this is acceptable.
Well, it is better, but not as good as below. ;)
Have you tried any of the suggestions in section B of the Forum Use Guidelines?

If this is the correct data layout, what are the expected results in column F, and why?

Excel Workbook
ABCDEF
1Supplier NameSKUModel #Count of Model#Price After DiscountBest Price SKU
2MAURMAUR_AA32.04
3BLACBLAC_AA32.88
4GRENGREN_AA32.88
5NORPNORP_BB12.232
6DANRDANR_CC42.0805
7BANRBANR_CC42.0805
8LMARLMAR_CC42.87
9CANRCANR_CC42.79
10GRAFGRAF_DD48.13
11DARIDARI_DD47.245
12ALVNALVN_DD47.245
13MARTMART_DD49.04
14VOTNVOTN_EE41.37
15MARTMART_EE41.278
16NOTNNOTN_EE41.37
17DARIDARI_EE41.278
18UAQTUAQT_FF42.03
19RAQURAQU_FF42.03
20GMARGMAR_FF42.51
21LMARLMAR_FF42.59
22DARIDARI_GG41.089
23VERIVERI_GG41.089
24POLYPOLY_GG41.099
25ALVNALVN_GG41.34
26GRAFGRAF_HH46.16
27FRAFFRAF_HH46.17
28DARIDARI_HH45.481
29MGRMMGRM_HH48.21
30GRENGREN_II42.19
31BLACBLAC_II42.19
32MAURMAUR_II42.32
33NGARNGAR_II41.73
34FLACFLAC_JJ26.82
35GRAFGRAF_JJ26.83
36GRAFGRAF_KK32.71
37CSTRCSTR_KK33.02
38MARTMART_KK33.02
Best Price
 
Upvote 0
Dear Peter.

Thanks for the response, the data is correct, I will make sure to use the correct format next time when I post.

1. In column F I need the best price SKU of a Model #, for example Model #A is being bought from three SKUs MAUR_A, BLAC_A and GREN_A, since MAUR_A is the cheapest I need that value in column F.

2. Model # could have different duplicates as we can source the same product from one or multiple companies.

Thanks,
Raj
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,718
Members
448,986
Latest member
andreguerra

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