Not sure if this is a V-Lookup, Index, or what!

Don Fardie

New Member
Joined
Aug 6, 2014
Messages
23
Trying to provide a Quote sheet that lists the Materials,Grade of Materials, Raw Shape and Finish for a project. The Material selection can easily bedone through a Drop Down data validation list, but based on that selection I want the nextcell to only offer the Grades of Material associated to the Material selected.This goes for the remaining cells as well.... Raw Shape and Finish. Because there so many variablesdepending on what Material is first chosen, I want minimize the selectionsso they can only choose correct options. The example below is just a basic layout of the information to show the possible variables.
Thanks in advance!!!

[TABLE="class: MsoNormalTable, width: 441"]
<tbody>[TR]
[TD="width: 109"]
Material<o:p></o:p>
[/TD]
[TD="width: 81"]
Grade<o:p></o:p>
[/TD]
[TD="width: 183"]
Raw Shape<o:p></o:p>
[/TD]
[TD="width: 215"]
Finish<o:p></o:p>
[/TD]
[/TR]
[TR]
[TD="width: 109, bgcolor: transparent"]
Aluminum<o:p></o:p>
[/TD]
[TD="width: 81, bgcolor: transparent"]
6061<o:p></o:p>
[/TD]
[TD="width: 183, bgcolor: transparent"]BAR, Flat, Hex, Sheet<o:p></o:p>
[/TD]
[TD="width: 215, bgcolor: transparent"]Precision, Polished
[/TD]
[/TR]
[TR]
[TD="width: 109, bgcolor: transparent"]
Aluminum<o:p></o:p>
[/TD]
[TD="width: 81, bgcolor: transparent"]
6063<o:p></o:p>
[/TD]
[TD="width: 183, bgcolor: transparent"]BAR, Flat, Tube, Sheet<o:p></o:p>
[/TD]
[TD="width: 215, bgcolor: transparent"]Precision, Polished, Std
[/TD]
[/TR]
[TR]
[TD="width: 109, bgcolor: transparent"]
Aluminum<o:p></o:p>
[/TD]
[TD="width: 81, bgcolor: transparent"]
7075<o:p></o:p>
[/TD]
[TD="width: 183, bgcolor: transparent"]BAR, Flat, Tube, Hex, Sheet<o:p></o:p>
[/TD]
[TD="width: 215, bgcolor: transparent"]Precision, Std
[/TD]
[/TR]
[TR]
[TD="width: 109, bgcolor: transparent"]
Aluminum<o:p></o:p>
[/TD]
[TD="width: 81, bgcolor: transparent"]
2024<o:p></o:p>
[/TD]
[TD="width: 183, bgcolor: transparent"]BAR, Tube, Hex, Sheet<o:p></o:p>
[/TD]
[TD="width: 215, bgcolor: transparent"]Precision, Polished, Std.

[/TD]
[/TR]
[TR]
[TD="width: 109, bgcolor: transparent"]
Stainless<o:p></o:p>
[/TD]
[TD="width: 81, bgcolor: transparent"]
6061<o:p></o:p>
[/TD]
[TD="width: 183, bgcolor: transparent"]BAR, Flat, Tube, Hex,
[/TD]
[TD="width: 215, bgcolor: transparent"]Precision, Std.
[/TD]
[/TR]
[TR]
[TD="width: 109, bgcolor: transparent"]
Stainless<o:p></o:p>
[/TD]
[TD="width: 81, bgcolor: transparent"]
6063<o:p></o:p>
[/TD]
[TD="width: 183, bgcolor: transparent"]BAR, Flat, Tube, Hex, Sheet<o:p></o:p>
[/TD]
[TD="width: 215, bgcolor: transparent"]Precision, Polished, Std.
[/TD]
[/TR]
[TR]
[TD="width: 109, bgcolor: transparent"]
Stainless<o:p></o:p>
[/TD]
[TD="width: 81, bgcolor: transparent"]
7075<o:p></o:p>
[/TD]
[TD="width: 183, bgcolor: transparent"]Flat, Tube, Hex, Sheet<o:p></o:p>
[/TD]
[TD="width: 215, bgcolor: transparent"]Precision, Polished
[/TD]
[/TR]
[TR]
[TD="width: 109, bgcolor: transparent"]
Stainless<o:p></o:p>
[/TD]
[TD="width: 81, bgcolor: transparent"]
2024<o:p></o:p>
[/TD]
[TD="width: 183, bgcolor: transparent"]BAR, Flat, Tube, Sheet<o:p></o:p>
[/TD]
[TD="width: 215, bgcolor: transparent"]Precision, Polished, Std.
[/TD]
[/TR]
[TR]
[TD="width: 109, bgcolor: transparent"]
Steel<o:p></o:p>
[/TD]
[TD="width: 81, bgcolor: transparent"]
Cold<o:p></o:p>
[/TD]
[TD="width: 183, bgcolor: transparent"]BAR, Flat, Hex, Sheet<o:p></o:p>
[/TD]
[TD="width: 215, bgcolor: transparent"] Polished, Std.
[/TD]
[/TR]
[TR]
[TD="width: 109, bgcolor: transparent"]
Steel<o:p></o:p>
[/TD]
[TD="width: 81, bgcolor: transparent"]
4140<o:p></o:p>
[/TD]
[TD="width: 183, bgcolor: transparent"]Flat, Tube, Hex, Sheet<o:p></o:p>
[/TD]
[TD="width: 215, bgcolor: transparent"]Precision, Polished
[/TD]
[/TR]
[TR]
[TD="width: 109, bgcolor: transparent"]
Steel<o:p></o:p>
[/TD]
[TD="width: 81, bgcolor: transparent"]
H Carbon<o:p></o:p>
[/TD]
[TD="width: 183, bgcolor: transparent"]BAR, Flat, Tube, Hex
[/TD]
[TD="width: 215, bgcolor: transparent"] Polished, Std.
[/TD]
[/TR]
[TR]
[TD="width: 109, bgcolor: transparent"]
Steel<o:p></o:p>
[/TD]
[TD="width: 81, bgcolor: transparent"]
L Carbon<o:p></o:p>
[/TD]
[TD="width: 183, bgcolor: transparent"]BAR, Flat, Tube, Hex, Sheet<o:p></o:p>
[/TD]
[TD="width: 215, bgcolor: transparent"]Precision, Polished
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Hi Gerald,
I did end up using use a VBA to clear the cells once the first cell is deleted, but after I protected the sheet the VBA runs an error. I've seen posts where they say add "Unprotect" and "Protect" into the code (if no password is used), but what happens is the sheet stays protected, but now it doesn't clear cells??? Not sure where exactly this is to be entered to work properly. Is this something you can help with? Thanks in advance....Don


Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
If Not Intersect(Target, Range("C16:C34")) Is Nothing Then
Range("I" & Target.Row & ":S" & Target.Row).ClearContents
End If
Application.EnableEvents = True
Application.EnableEvents = False
If Not Intersect(Target, Range("C38:C56")) Is Nothing Then
Range("D" & Target.Row & ":P" & Target.Row).ClearContents
End If
Application.EnableEvents = True
End Sub
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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