Data rows with multiple vlookup values

COGICPENNY

New Member
Joined
Feb 16, 2009
Messages
44
My problem is in 2 parts.

  • Each supplier listed in the tab "IT App Dev" (Column B) needs to be matched with a Commodity Code.
  • The Commodity Code is determined by VLOOKUP the SubCategory Code "IT App Dev" (Column K) in the tab "Phase 2 Taxonomy".
  • For this SubCategory there are two (2) commodity codes: 80101507 Consulting and 81111509 Application Development Services
  • So there would be two (2) rows for each Supplier, the first row would return the value 80101507 Consulting in Column AB, and the commodity description in AC


I created a SAMPLE OUTLOOK FILE tab to see what I'm trying to do: https://1drv.ms/x/s!AsyIxS27y-3Tk2O4u230hbp5IA0w

Unsure if I needed a macro first to create the extra rows then do a lookup using INDEX or something?

Really appreciate the help.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Cross posted http://www.vbaexpress.com/forum/showthread.php?62304-ROW-DUPLICATION-WITH-MULTIPLE-VLOOKUP-VALUES
and https://www.excelforum.com/excel-fo...e-data-row-with-multiple-vlook-up-values.html

Cross-Posting
While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0

Forum statistics

Threads
1,216,175
Messages
6,129,299
Members
449,499
Latest member
HockeyBoi

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