Data Validation for a Parts List

DanCook

New Member
Joined
Jun 30, 2020
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello All,

I've been struggling to produce some data validation for a parts list/quote tool. I have a large parts list in a table and I'd like to use this data for a quote worksheet. I'd like the data validation in the quote sheet to look at the 'Catagory' and return all 'Item' in the data validation which match the 'Catagory.' Is there a way to do this?

Any help would be appreciated.

CategoryItemPart NumberManufacturer
ConduitCentaur 20mm PVC Round Conduit Heavy Gauge White (3m Length)0009-1240Centaur
ConduitCentaur 20mm Female Adaptor with Male Bush White0008-9959Centaur
ConduitCentaur 20mm PVC Conduit Spacer Bar Saddle White0009-1723Centaur
ConduitCentaur 20mm PVC Conduit Straight Coupler White0009-0889Centaur
ConduitCentaur 20mm PVC Conduit Inspection Elbow White0009-0352Centaur
ConduitCentaur 20mm PVC Conduit Slip Bend White0009-0865Centaur
ConduitCentaur 250ml Waterproof Adhesive Permanent0009-1621Centaur
DIN RailSlotted Din Rail, 2m x 35mm x 7.5mm742-4138RS Pro
Enclosures300 mm X 300 mm X 120 mm - Terminal boxes KL without gland plate (WxHxD)1507510Rittal
Enclosures300 mm X 400 mm X 200 mm - Plastic enclosures KS (WxHxD)1434500Rittal
Enclosures300 mm X 300 mm X 120 mm - E-Box EB (WxHxD) Painted Steel1555500Rittal
IndicatorsIndicator lights, 22mm, round, metal, shiny, green, smooth lens, with holder, LED module, with integrated LED 24V AC/DC, screw terminal3SU1152-6AA40-1AA0Siemens
IndicatorsIndicator lights, 22mm, round, metal, shiny, red, smooth lens, with holder, LED module, with integrated LED 24V AC/DC, screw terminal3SU1152-6AA20-1AA0Siemens
IndicatorsIndicator lights, 22 mm, round, metal, shiny, yellow, lens, smooth, with holder, LED module with integrated LED 24 V AC/DC, screw terminal3SU1152-6AA30-1AA0Siemens
IndicatorsIndicator lights, 22 mm, round, metal, shiny, white, lens, smooth, with holder, LED module with integrated LED 24 V AC/DC, screw terminal3SU1152-6AA60-1AA0Siemens
Push ButtonsPushbutton, 22 mm, round, metal, shiny, black, pushbutton, flat, momentary contact type, with holder, 1 NO, screw terminal3SU1150-0AB10-1BA0Siemens
Push ButtonsPushbutton, 22 mm, round, metal, shiny, green, pushbutton, flat, momentary contact type, 1 NO, screw terminal3SU1150-0AB40-1BA0Siemens
CategoryItemPart NumberManufacturer
ConduitCentaur 20mm PVC Round Conduit Heavy Gauge White (3m Length)0009-1240Centaur
ConduitCentaur 20mm Female Adaptor with Male Bush White0008-9959Centaur
ConduitCentaur 20mm PVC Conduit Spacer Bar Saddle White0009-1723Centaur
ConduitCentaur 20mm PVC Conduit Straight Coupler White0009-0889Centaur
ConduitCentaur 20mm PVC Conduit Inspection Elbow White0009-0352Centaur
ConduitCentaur 20mm PVC Conduit Slip Bend White0009-0865Centaur
ConduitCentaur 250ml Waterproof Adhesive Permanent0009-1621Centaur
DIN RailSlotted Din Rail, 2m x 35mm x 7.5mm742-4138RS Pro
Enclosures300 mm X 300 mm X 120 mm - Terminal boxes KL without gland plate (WxHxD)1507510Rittal
Enclosures300 mm X 400 mm X 200 mm - Plastic enclosures KS (WxHxD)1434500Rittal
Enclosures300 mm X 300 mm X 120 mm - E-Box EB (WxHxD) Painted Steel1555500Rittal
IndicatorsIndicator lights, 22mm, round, metal, shiny, green, smooth lens, with holder, LED module, with integrated LED 24V AC/DC, screw terminal3SU1152-6AA40-1AA0Siemens
IndicatorsIndicator lights, 22mm, round, metal, shiny, red, smooth lens, with holder, LED module, with integrated LED 24V AC/DC, screw terminal3SU1152-6AA20-1AA0Siemens
IndicatorsIndicator lights, 22 mm, round, metal, shiny, yellow, lens, smooth, with holder, LED module with integrated LED 24 V AC/DC, screw terminal3SU1152-6AA30-1AA0Siemens
IndicatorsIndicator lights, 22 mm, round, metal, shiny, white, lens, smooth, with holder, LED module with integrated LED 24 V AC/DC, screw terminal3SU1152-6AA60-1AA0Siemens
Push ButtonsPushbutton, 22 mm, round, metal, shiny, black, pushbutton, flat, momentary contact type, with holder, 1 NO, screw terminal3SU1150-0AB10-1BA0Siemens
Push ButtonsPushbutton, 22 mm, round, metal, shiny, green, pushbutton, flat, momentary contact type, 1 NO, screw terminal3SU1150-0AB40-1BA0Siemens
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hi Dan,
you can use the new (Office365) FILTER function for that. See e.g. this tutorial on that function: Excel FILTER Function – The Function that does Everything - Excel Unplugged and this use of it: Excel Filter Function + Data Validation
So I would create 2 helper columns (preferably on another sheet):
- =UNIQUE(A2:A100) ->assuming your data starts in A2, this gives a list of all unique categories, which you can use as the validation source, the formula will be something ending with a # (see the second link above)
- =FILTER(B2:$B$13,$A$2:$A$13=$E$3) -> E3 being the cell where your first validation input is -> this gives all items from B that have a matching item in A. Again, use that outcome as the source of your validation.
Hope that works,
Koen
 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,427
Members
448,961
Latest member
nzskater

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