Hi All,
This is my first time on the forum and hope everyone is enjoying the new year.
I am using Excel 2016 and creating an estimating workbook. To simplify my question I'll use the following example.
I have created a table called Inventory as shown below.
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]CATEGORY[/TD]
[TD]ITEM[/TD]
[TD]UNIT[/TD]
[TD]PRICE[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Bolts[/TD]
[TD]25x10mm bolt[/TD]
[TD]Each[/TD]
[TD]$0.20[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Bolts[/TD]
[TD]50x10mm bolt[/TD]
[TD]Each[/TD]
[TD]$0.30[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Nuts[/TD]
[TD]10mm nut[/TD]
[TD]Each[/TD]
[TD]$0.15[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Washer[/TD]
[TD]10mm flat washer[/TD]
[TD]Each[/TD]
[TD]$0.10[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Washer[/TD]
[TD]10mm split washer[/TD]
[TD]Each[/TD]
[TD]$0.12[/TD]
[/TR]
</tbody>[/TABLE]
I have created another table called Estimate shown below
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]F[/TD]
[TD]G[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Category[/TD]
[TD]Item[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Bolt[/TD]
[TD]Drop down list
showing choices of bolts from Inventory table
[/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to achieve a drop down list to give me choices for the category selected. In this example, the category is "Bolt".
To try and achieve this I have used the following formula in Data Validation source.
=INDIRECT(VLOOKUP(F2,A1:D5,2,FALSE))
Unfortunately my logic doesn't work
Any suggestions?
Cheers
Steve
This is my first time on the forum and hope everyone is enjoying the new year.
I am using Excel 2016 and creating an estimating workbook. To simplify my question I'll use the following example.
I have created a table called Inventory as shown below.
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]CATEGORY[/TD]
[TD]ITEM[/TD]
[TD]UNIT[/TD]
[TD]PRICE[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Bolts[/TD]
[TD]25x10mm bolt[/TD]
[TD]Each[/TD]
[TD]$0.20[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Bolts[/TD]
[TD]50x10mm bolt[/TD]
[TD]Each[/TD]
[TD]$0.30[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Nuts[/TD]
[TD]10mm nut[/TD]
[TD]Each[/TD]
[TD]$0.15[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Washer[/TD]
[TD]10mm flat washer[/TD]
[TD]Each[/TD]
[TD]$0.10[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Washer[/TD]
[TD]10mm split washer[/TD]
[TD]Each[/TD]
[TD]$0.12[/TD]
[/TR]
</tbody>[/TABLE]
I have created another table called Estimate shown below
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]F[/TD]
[TD]G[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Category[/TD]
[TD]Item[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Bolt[/TD]
[TD]Drop down list
showing choices of bolts from Inventory table
[/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to achieve a drop down list to give me choices for the category selected. In this example, the category is "Bolt".
To try and achieve this I have used the following formula in Data Validation source.
=INDIRECT(VLOOKUP(F2,A1:D5,2,FALSE))
Unfortunately my logic doesn't work
Any suggestions?
Cheers
Steve