getting information relative to indirect source

UntitledDocument

New Member
Joined
Apr 22, 2019
Messages
9
I have a problem that seems like it should have a simple solution.
I'll use this example situation to explain.
in the first table I have data validation drop-down lists in the first column to choose a category.
In the second column i have an =INDIRECT drop-down list to get an Item out of that category.
In the third column I want the items respective weight of that item to show up automatically. That weight is stored in another table next to the where the =INDIRECT value was pulled from.

I've tried every combination of index match and a few other things, but I cant seem to get it to show.
Thanks ahead of time for taking a look at this.


[TABLE="width: 500"]
<tbody>[TR]
[TD]Category[/TD]
[TD]Indirect(item in category)[/TD]
[TD]Weight[/TD]
[/TR]
[TR]
[TD]Fish[/TD]
[TD]Trout[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Fruit[/TD]
[TD]Apple[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


Fish
[TABLE="width: 500"]
<tbody>[TR]
[TD]Trout[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]Halibut[/TD]
[TD]15.4[/TD]
[/TR]
[TR]
[TD]Red_Snapper[/TD]
[TD]8[/TD]
[/TR]
</tbody>[/TABLE]

Fruit
[TABLE="width: 500"]
<tbody>[TR]
[TD]Apple[/TD]
[TD].3[/TD]
[/TR]
[TR]
[TD]Banana[/TD]
[TD].5[/TD]
[/TR]
[TR]
[TD]Peach[/TD]
[TD].4[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Assuming the drop-down lists in columns A:B try in C2
=INDEX(OFFSET(INDIRECT(A2),0,1),MATCH(B2,INDIRECT(A2),0))

M.
 
Last edited:
Upvote 0
Thanks Marcelo. That works perfect.
It turned out I had another problem that was preventing that from working the first time. You made me take a harder look at what I was doing.
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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