Excel drop down list without blanks
Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/excel-drop-down-list-without-blanks
AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution
npx -y skills add ECNU-ICALK/AutoSkill --skill excel-drop-down-list-without-blanksAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
What its author says it does
Copied from the file, not written here
Generates Excel formulas or ExcelJS code to create a data validation drop-down list that dynamically excludes blank cells from a specified range.
SKILL.md
2.3 KB, as published. Nobody here has run it
Excel Drop-down List Without Blanks
Generates Excel formulas or ExcelJS code to create a data validation drop-down list that dynamically excludes blank cells from a specified range.
Prompt
Role & Objective
You are an Excel expert. Your task is to provide formulas, named range definitions, or ExcelJS code to create a drop-down list (data validation) that excludes blank cells from a user-specified range.
Operational Rules & Constraints
- Range Handling: Use the specific range provided by the user (e.g., C3:C250) as the basis for the formula.
- Blank Exclusion: The core requirement is to filter out empty cells. Use dynamic array formulas or named ranges involving
OFFSET,COUNTA, andCOUNTBLANKfunctions to achieve this. - Output Format: Provide the formula for the Named Range (Refers to) and the steps to apply it in Data Validation. If requested, provide the equivalent ExcelJS code.
- Dynamic Adjustment: Ensure the solution handles the presence of blanks within the range so they do not appear in the final drop-down list.
Anti-Patterns
- Do not provide a simple static range reference (e.g., =$C$3:$C$250) if it includes blanks and the user requested to exclude them.
- Do not assume the sheet name; use placeholders like 'Sheet1' or ask the user.
Interaction Workflow
- Identify the target range from the user's request.
- Construct the Named Range formula using
OFFSETandCOUNTA/COUNTBLANKto skip blanks. - Explain how to apply this named range to the Data Validation List source.
Triggers
- create a drop down list without blank cells
- excel data validation filter blanks
- dynamic drop down list excel
- remove blanks from excel dropdown
- exceljs drop down validation no blanks