Data validation list from table headers

keelaboosa

New Member
Joined
Apr 3, 2018
Messages
35
Is it possible to select a subset of table headers to use as a data validation list in another cell?

I've got the following table named "Notes":

ABCDEFGHIJ
1NOTES: UNLESS OTHERWISE SPECIFIEDGENERAL ARRANGEMENTINSTALLATIONASSEMBLYCABLE ASSEMBLYFABRICATIONALTERED ITEMSCHEMATICPIPING DIAGRAMVENDOR ITEM
2INTERPRET DRAWING PER ASME Y14.1XXXXXXXXX
3BREAK SHARP EDGES .005 MAXXXX

<tbody>
</tbody>

I would like to use all except the first header as a data validation list. I've tried
Code:
=OFFSET(NOTES[#Headers],0,1,1,COUNTA(NOTES[#Headers])-1)
which evaluates to
Code:
={"GENERAL ARRANGEMENT","INSTALLATION","ASSEMBLY","CABLE ASSEMBLY","FABRICATION","ALTERED ITEM","SCHEMATIC","PIPING DIAGRAM","VENDOR ITEM"}
but it fails when I try to use the formula as the data validation list.

Is there a way to do this without duplicating the header row as data in another table?
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Hi!

Try this:

1) Create the name myHeader with the formula below

=INDEX(NOTES[#Headers],2):INDEX(NOTES[#Headers],COLUMNS(NOTES))

2) After that, use the name myHeader in Data Validation list.


Markmzz
 
Upvote 0
Thank you Markmzz! Your suggestion works great. I tried setting my formula to a name and using that for the data validation and that works as well. ;)
 
Upvote 0
Thank you Markmzz! Your suggestion works great. I tried setting my formula to a name and using that for the data validation and that works as well. ;)

You're welcome and thank you for the feedback.

And I'm glad to help.

Markmzz
 
Upvote 0

Forum statistics

Threads
1,215,051
Messages
6,122,871
Members
449,097
Latest member
dbomb1414

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