agentsclimarketplace

Excel drop down list without blanks

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/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.From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill excel-drop-down-list-without-blanks

Assembled 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.

SKILL.md

2.3 KB, 401 tokens by cl100k_base, 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

  1. Range Handling: Use the specific range provided by the user (e.g., C3:C250) as the basis for the formula.
  2. Blank Exclusion: The core requirement is to filter out empty cells. Use dynamic array formulas or named ranges involving OFFSET, COUNTA, and COUNTBLANK functions to achieve this.
  3. 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.
  4. 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

  1. Identify the target range from the user's request.
  2. Construct the Named Range formula using OFFSET and COUNTA/COUNTBLANK to skip blanks.
  3. 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

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.