Vlookup with multiple cells

WBlenner

New Member
Joined
Dec 19, 2013
Messages
1
I have a sheet containing work tasks and associated hazards:

[TABLE="width: 500"]
<TBODY>[TR]
[TD]Task1[/TD]
[TD]Hazard 1[/TD]
[TD]Control 1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Hazard 2[/TD]
[TD]Control 2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Hazard 3[/TD]
[TD]Control 3[/TD]
[/TR]
[TR]
[TD]Task 2[/TD]
[TD]Hazard 4[/TD]
[TD]Control 4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Hazard 5[/TD]
[TD]Control 5[/TD]
[/TR]
</TBODY>[/TABLE]

For each task there may be up to 6 separate hazards.

In a new sheet i want to select the Task from a drop-down menu in A1 then using Vlookup, populate B1:B3 with corresponding Hazards, C1:C3 with corresponding controls etc.


I am a novice, i have a little bit of experience with Vlookup, but i wonder if MATCH or INDEX would be better suited?

Any help appreciated!!
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Can you change the lay-out as shown below:

[TABLE="width: 194"]
<COLGROUP><COL style="WIDTH: 48pt" width=64><COL style="WIDTH: 77pt; mso-width-source: userset; mso-width-alt: 3640" width=102><COL style="WIDTH: 69pt; mso-width-source: userset; mso-width-alt: 3271" width=92><TBODY>[TR]
[TD="class: xl63, width: 64, bgcolor: white"]Task1[/TD]
[TD="class: xl63, width: 102, bgcolor: white"]Hazard 1[/TD]
[TD="class: xl63, width: 92, bgcolor: white"]Control 1[/TD]
[/TR]
[TR]
[TD="class: xl63, width: 64, bgcolor: white"]Task1[/TD]
[TD="class: xl63, width: 102, bgcolor: white"]Hazard 2[/TD]
[TD="class: xl63, width: 92, bgcolor: white"]Control 2[/TD]
[/TR]
[TR]
[TD="class: xl63, width: 64, bgcolor: white"]Task1[/TD]
[TD="class: xl63, width: 102, bgcolor: white"]Hazard 3[/TD]
[TD="class: xl63, width: 92, bgcolor: white"]Control 3[/TD]
[/TR]
[TR]
[TD="class: xl63, width: 64, bgcolor: white"]Task2[/TD]
[TD="class: xl63, width: 102, bgcolor: white"]Hazard 4[/TD]
[TD="class: xl63, width: 92, bgcolor: white"]Control 4[/TD]
[/TR]
[TR]
[TD="class: xl63, width: 64, bgcolor: white"]Task2[/TD]
[TD="class: xl63, width: 102, bgcolor: white"]Hazard 5[/TD]
[TD="class: xl63, width: 92, bgcolor: white"]Control 5[/TD]
[/TR]
</TBODY>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,226,693
Messages
6,192,465
Members
453,725
Latest member
cvsdatreas

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