semi-variable table_array (without vba) in vlookup?

discoimp

New Member
Joined
Sep 16, 2016
Messages
2
Hi,
I have a huge list looking like this (3 columns):

asset ID (A)Step (B)ID (C)
714803 LOOK0
714801 MODEL1
714804 RIG2
714806 SETDRESS3
714805 SHAPES4
714802 TEXTURE5
714703 LOOK6
714701 MODEL1007
714704 RIG1008
714706 SETDRESS1009
714705 SHAPES1010
714702 TEXTURE1011
711407 FUR1012
711403 LOOK7
711401 MODEL8
711404 RIG9
711406 SETDRESS10
711405 SHAPES11
711402 TEXTURE12
667707 FUR1013
667703 LOOK1014
667701 MODEL1015

<tbody>
</tbody>

These are tasks, and I must define dependencies based on what kind of task it is.
In the 4th column I need to link to the tasks predecessor ID.

"04 RIG" is depending on "01 MODEL" so in the top of this table (7148 "04 RIG") the 4th column should read "1". But for Asset ID 7147 "04 RIG" the 4th column should read "1007".

Is it possible in a vlookup (or other function) to define the table_array based on the identical names in a column? If I look up something in row 3 the table_array should be a2:c7 defined by the range of identical Asset ID numbers.

Sorry if I explain myself poorly.

And sorry for not using the "MrExcel HTML Maker" in this post. I lack permissions at my work station...

Best
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Sorry if I formulated myself poorly. Can you please let me know what information I should add?
I want the lookup to look something like this: =vlookup(b1,defineRangeByIdenticalEntriesInColumnARelativeToTheLookupValue,3,false)
Best
 
Upvote 0

Forum statistics

Threads
1,215,819
Messages
6,127,045
Members
449,356
Latest member
tstapleton67

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