Ravindra BagaleCourses & study guides मराठी Track your progress

2. Data Entry Tools

Excel

2.4 Drop-down Lists

1. Give people the same words to choose from

A college club keeps its own reimbursement tracker for groceries and delivery orders. One volunteer enters UPI for a purchase they made through Blinkit. Another types upi. A third writes UPI transfer. When the treasurer groups the reimbursements, the field deserves a single agreed label and a clear distinction from the merchant. The business examples and receipts in this lesson are fictional. We are designing a small club worksheet that resembles a problem many volunteers encounter.

A data-validation drop-down offers a set of labels inside the input cell. Choose a label and Excel stores it as the cell's value. Someone can then filter those stored values or use them in a formula. The filter in a column heading has a different job. It decides which records to show after the fact. A form control or combo box can have a linked-cell design, which is a separate Excel feature. In this lesson you are making the ordinary in-cell List option.

Choose the vocabulary first. The menu makes the choices easy to enter. You still decide what each choice means, who can change it and whether old records need to be reconciled.

In a checkout-method cell, choosing UPI from the four options stores UPI. A calculation can count the stored UPI entries.
A drop-down makes the agreed entry visible. The cell stores the chosen label.

Keep category choices distinct and understandable

Start with the practical question the club has to answer. Is the source field asking Who did we buy from?, How did the volunteer pay? or Has the volunteer been reimbursed? These are three distinct dimensions of a record. It would make little sense to offer UPI beside Awaiting reimbursement in the same list. One describes how the money was paid and the other describes what the organiser still needs to do.

  • Payment method. For the practice, the four choices are UPI, Card, Cash and Wallet. Define what you count as a Wallet payment and when to use Card, especially if an app offers stored card information.
  • Payment status. A new list could offer Pending, Approved and Reimbursed. Give the user a separate column so they can filter one attribute without changing the other.
  • Other or unknown. If the process has a genuine exception type, write a label and explain how to follow it up. A blank field can mean nobody has checked yet, not that the payment was made by a method named Other.
  • Multiple methods. A normal data-validation list selects one entry. If a claim was paid separately by card and cash, store separate payment rows or amount columns designed for that case. Avoid inventing a combined label for every possible pair.

Keep the words easy to read. Better choices produce fewer ambiguous selections than a longer menu. If a list grows to a hundred tiny differences, ask whether it needs a different level of detail or a separate dependent list. A new volunteer should be able to recognise the difference between Pending receipt and Received from the description, even before opening the dropdown.

Use one workbook field for reporting and another for entry only if needed

A reporting system may need short stable codes while learners prefer full names. A simple workbook can store the user-friendly label itself. In a larger system, keep a mapping from each label to its official code and use a confirmed lookup. Then changing a spelling for readability does not need to create a new category code. A simple in-cell drop-down stores what the user selected. It cannot privately store a different permanent key and still show the friendly label in that same cell without a different design.

2. Choose where the options live

Use a short typed list for a small, stable vocabulary

Select the intended range and open Data > Data Validation. Choose List under Allow. In the Source box, enter the labels with the delimiter your edition expects. For an English example the four practice choices are UPI,Card,Cash,Wallet. Check In-cell dropdown. Enable the error alert and choose Stop if ordinary direct invalid entries should be rejected. Verify a cell in the actual range and another that should remain free of the rule.

The spaces inside a label such as Cash on Delivery belong to its text. Delimiters separate choices from one another. An item that itself contains a comma is easier to keep in a single cell in a range than type into a comma-separated source. Consider the regional delimiter used in your environment. If the entire typed string appears as one dropdown choice, check the delimiter and try a range-backed source. Do not delete existing data to fix a source-entry issue.

Use a cell range so the choices are visible and editable

Put one option per cell in a column. Put a useful heading above them but exclude the heading from the source range. For a small exercise on one worksheet, set Source to =$F$2:$F$4. The absolute references keep the same option rows selected if the rule is copied to nearby input cells. A range also makes it practical to document choices in a second column and to test whether any were duplicated. Keep the options out of the rows people add to the tracker.

For more than one sheet, a workbook-level defined name can point to a range on a helper worksheet. That arrangement lets you manage the vocabulary in one place. The named-list lesson explains how to inspect the name's reference and when to use a table-backed source. A plain reference and a fixed named range each have a specified extent. Adding another option just below the extent is unlikely to change the list unless the source grows or you adjust it deliberately.

Use an Excel Table when the source should grow

Putting a border around four cells does not make them an Excel Table. Insert an actual Table where appropriate, confirm which row is the header, then select its data column for the drop-down setup in a compatible edition. Microsoft documents that a list based on an Excel Table can update when its source items are added or removed. Check the new row really joined the table. A text value typed a few rows below the table might not be part of the option list.

For a larger file, give someone explicit ownership of the table and record why options were added or removed. Growing the table helps update the offered choices. It does not update cells where people selected the previous label. Get a clean sample from both currently entered and older records when changing a policy. The current dropdown tells you what may be entered now, and the older rows describe what was recorded at the time.

What to inspect before editing an existing list
SourceBest fitWhat changes the offered options
Typed labelsA small list used in one placeEdit the source string and confirm the target range
Fixed cell rangeLabels people need to see in the workbookEdit entries inside the range or expand the source reference
Workbook nameA shared source used by more than one sheetInspect its Refers To definition and how that definition grows
Table sourceChoices change and have an ownerEdit actual table rows and check a new dropdown choice

Recall. A colleague typed a fifth choice below a fixed source of four rows. What would you inspect before changing the dropdown? Which data should already exist even if the new choice becomes visible?

3. Decide which entries can change and which tell a history

Consider a society that lends cameras, tripods and microphones to its event team. Its existing log uses Booked, Picked up and Returned. The warehouse owner wants a new state called Needs testing for equipment awaiting a safety check. Adding the state to the choices helps people enter new rows. It does not change older booked or returned values. Report readers should be told whether the new state applies to old items as well as current requests.

If the owner asks to rename Picked up to Collected, decide whether the old entries can remain as historical data. One workable design keeps a stable ID or stores a reporting map that treats both labels the same after a given date. Another updates the existing data with an approved migration. A migration means reviewing affected rows and recording what was replaced. Changing a source menu by itself will not perform it. This distinction is useful when later PivotTable totals seem to split into two nearly equivalent categories.

Review the permissions and visibility of the source

On desktop, some features can be unavailable if a worksheet is protected or a specific sharing mode applies. Change the authorized template or coordinate with its owner if the settings cannot be edited. A helper sheet can contain short descriptions and example values. Hiding it can make the entry area simpler, but hiding is not a way to keep a secret from someone with access to the workbook. Use a regular visible list for this lab so every learner can trace the options.

Microsoft documents different ways of editing in Excel for the web. The directly typed list can be changed in Data Validation where supported. Cell-backed source entries can be updated in their cells and a changed extent should be verified. Managing a defined name may require desktop Excel. If a viewer is on a phone, test one legitimate selection and read back the value after saving. Report missing options in that edition rather than insisting the same menus must exist.

4. Lab. Make the payment method visible and audit old receipts

Goal. Build a fixed list and identify three kinds of historical input that need confirmation. In a new sheet put Receipt, Method and Audit in A1:C1. Type the records first so that you can test whether the rule changes existing values. These receipts are invented examples, and the report uses each selected value as a different category.

Enter the sample receipts in A2:B7
ReceiptStored sample methodExpected audit
RC-201UPIOK
RC-202CardOK
RC-203upiReview method
RC-204UPI transferReview method
RC-205Missing
RC-206WalletOK

Watch the difference between entry and historical checks

  1. Set the list on the intended cell range

    Select B2:B8 beginning with the first data row. Choose Data Validation > List and set the Source to the four earlier labels, using your Excel edition's recognised separator. Enable the in-cell drop-down and the Stop message. Do not add a rule to the header or receipt ID column. Use B8 for tests of new entry.

  2. Pick one allowed value and test an unlisted one

    In B8 open the list and pick Cash. Check the committed cell value. Then try typing Bank cheque. It should be rejected by a correctly configured Stop rule during direct entry. Cancel the invalid input and leave B8 blank when finished. If the user can keep the value, read both the validation condition and the configured alert style.

  3. Check older inputs with the case-sensitive rule

    Enter the audit formula below into C2 and fill to C7. Find three OK values, two Review method results and one Missing. Both a differing capitalisation and a longer phrase are part of the review, even if some built-in validation comparisons accept differently cased typed input. An independent canonical audit states exactly what counts as an approved spelling for this practice.

  4. Verify the source before replacing a value

    Assume the mocked receipts confirm that RC-203 and RC-204 were both paid by UPI, and leave RC-205 unverified. Choose UPI from the list in B4 and B5. After those edits the audit should show five OK and one Missing. Three reviewed records now use UPI. The blank status still needs input from whoever owns the fifth receipt.

=IF(B2="","Missing",IF(OR(EXACT(B2,"UPI"),EXACT(B2,"Card"),EXACT(B2,"Cash"),EXACT(B2,"Wallet")),"OK","Review method"))

The outer test separates a blank method from a different spelling. OR lets a row pass if any exact comparison is true. The checks include case and spaces. If your source says UPI transfer, do not map it automatically just because it contains the letters UPI. Verify the meaning once with the owner and document the map for any additional records. Some longer phrases can contain conditions that change how a payment should be grouped.

Try a filter on Audit and count the rows needing attention. If you only count Review method, you find spellings but miss the unresolved blank field. Include both outcomes when you want to ask for all outstanding cases. A filter on the payment method alone answers a different question, such as how many confirmed purchases share the UPI method.

5. Lab. Change an option and see which records stay the same

Goal. Maintain a cell-backed list without mistaking a change to the offered choices for a rewrite of old equipment records. In a new sheet set A1 to Checkout and B1 to Status. In F1 put Allowed statuses. Put Booked, Picked up and Returned in F2:F4. Initially leave F5 blank. Use the fixed source to see the effect of the range boundary before adopting a Table source.

Use these fictional loan records in A2:B6
CheckoutStored statusBefore list growthAfter adding Needs testing
EQ-11BookedOKOK
EQ-12Picked upOKOK
EQ-13ReturnedOKOK
EQ-14Needs testingReview statusOK
EQ-15MissingMissing
  1. Set the fixed source. Select B2:B7. Choose List with Source =$F$2:$F$4 and the in-cell option enabled. Try the menu in blank B7 and verify that it offers the three starting labels. The previous imported record Needs testing can remain in B5. It does not prove the list is wrong.
  2. Demonstrate the boundary. Put Needs testing in F5. B7 still has a fixed source of F2:F4. The new word is now on the sheet, outside the source. If the menu already includes it, inspect whether the actual setup used a different range or a growing Table.
  3. Expand deliberately. Update the source for the full target range B2:B7 to =$F$2:$F$5. Check both a blank cell and one populated cell. You should see all four choices and no option named Allowed statuses. Verify the permitted value directly in B7, then clear the scratch input. Neither the update to the source nor the test should have edited the already stored text in B5.
  4. Measure membership separately. In C2 enter the audit formula after the ordered steps and fill C2:C6. It compares the stored value with F2 through F5 one item at a time. Before the new option, all entries except EQ-14 and the blank pass. After the source includes Needs testing, only the missing value needs action. To run a before check with the same helper, temporarily clear F5 while the rule still covers F2:F4.
  5. Compare a label rename. Replace F3 with Collected in a duplicate. Open an input menu. The new label should be available and Picked up no longer offered. EQ-12 still contains Picked up. Its audit now shows Review status. This tells the editor to confirm the historical meaning and any approved mapping rather than changing a past ledger by guesswork.
=IF(B2="","Missing",IF(OR(EXACT(B2,$F$2),EXACT(B2,$F$3),EXACT(B2,$F$4),EXACT(B2,$F$5)),"OK","Review status"))
A fixed source F2 to F4 offers Booked, Picked up and Returned. Typing Needs testing below it in F5 does not add a choice until the source changes to F2 through F5.
Read the source boundary when a new label appears on the sheet but remains absent from the dropdown.

The audit formula mirrors the four allowed cells. The first IF returns Missing when the row lacks a status, so a blank source slot cannot count as an allowed choice in this check. An exact review can mark a difference that the direct input rule might allow depending on comparison behavior. If another editor extends the source to F6, inspect the helper too. That is a good reason to put the logic in a documented range rather than a separate handwritten list that grows at its own pace.

Try the table-backed version in a copy

Select F1:F4 before adding the last option on a clean copy. In a current desktop Excel edition, insert an actual Table and confirm the first row is the header. Use the drop-down setup that selects the data cells inside the Table. Add a new Table row at the end with Needs testing. Confirm expansion under Table Design or using the visible table boundary. Open the dropdown in B7 and check whether the new value appears. If your existing rule still points to a fixed range after a particular setup, inspect Source and use the workbook-name method in the named-list lesson. It provides a clearly auditable reference to a Table column.

Try removing a value too. Compare deleting a Table row with pressing Delete in a cell. Pressing Delete can clear a value while leaving a blank position inside the source. If the list is meant to be dense, remove the source row or close the gap in a copy and check the resulting options. An empty slot creates an unclear invitation for users who already have a separate blank policy.

6. Debug the source, the target and the stored value in that order

A dropdown appears empty or has the wrong words

Open Data Validation on the actual target cell. Is Allow set to List? Is In-cell dropdown enabled? Is the Source a string, a range or a name? A range with the only values in its header is usually a poor source. A typed list with the wrong separator might show everything as one long choice. A name points to another location, so inspect the name definition before moving cells. Try placing three small source values in ordinary cells on the same sheet to isolate whether the problem is the original source or the rule configuration.

On some desktop editions, the arrow is visible when you select a validated input cell. Inspect it when that cell is selected. Test whether the current rule still rejects a clearly unlisted direct entry if you want to keep validation while hiding the arrow. Turning off the arrow changes the menu's visibility. Removing the validation removes the rule. Narrow columns may also make longer options hard to read. Give the label enough space and check the real entry device.

The new row doesn't use the same list as the row above

Check both cells separately. Excel can extend some settings when you add table rows, but a sheet owner should verify the exact new input. An ordinary range such as B2:B7 does not promise an identical rule on B8. One attempted fix is copying a whole nearby cell, which can copy its selected value as well. Choose an appropriate paste mode or reapply validation deliberately on the intended range, and verify the old values are still present. Keep unrelated columns and the header outside your selection.

A report contains several similar choices even after the setup

Run a filter or helper audit on the whole data area. A manual import can introduce spelling differences after setting the list. A removed choice can remain in older records. A report's distinct categories do not necessarily show the offered dropdown choices. Compare an actual stored value with the canonical example and ask which variation is real before grouping them together.

As an exercise, make a one-row testing area with the same source. Type a value with shortened punctuation or extra spaces that should be considered different in your process. Use an exact comparison beside it. If you need to check an ordinary trailing space that is hard to preserve while typing, make a formula such as ="UPI " in a spare cell. Read =LEN(B2) or compare with EXACT against the intended label. The formula-generated example is intentionally outside the direct-typing test. Do not use it to infer what the Stop alert does.

If a source has both Wallet and Wallet app, determine whether those are distinct choices. To decide on a change, ask the report owner whether the totals need to group them and whether reimbursements have been tracked under both names in the past. A validated list should make a real decision easier. It is not simply a mechanism for hiding textual clutter from the person entering the record.

Hand over the source and a simple verification routine

  • Write where the current options live and who maintains them.
  • Decide whether blanks represent a draft, an unknown value or a problem.
  • Test one listed choice, one unlisted typed choice, an existing wrong value and the first newly added input row.
  • After changing a choice, look for existing matches under the older spelling. Agree whether old data stays historical, maps to a reporting label or needs an approved edit.
  • Write what happens when someone copies a batch into the worksheet. Keep the separate audit visible to the editor who reviews the records.

Prove that the category helps a report

Add an amount column to the payment lab for one more check. In D1 type Amount (INR). Put the fictional numeric amounts 640.50, 1099, 299, 450, 260 and 720 into D2:D7 in that order. These values are separate from the payment method. Run =SUM(D2:D7) in a spare cell and expect 3468.50. The treasurer can verify the overall calculation without knowing whether a method is still under review.

On an original copy with the three unresolved methods, enter =SUMIFS(D2:D7,B2:B7,"UPI",C2:C7,"OK") to find the sum for records already confirmed as UPI by the canonical audit. This returns 640.50. After the two agreed corrections in B4 and B5, it returns 1389.50. The two added receipts contribute 299 and 450. D2:D7 did not change. This shows why the drop-down and the audit matter to a report. A total for the whole file can be correct even when some category subtotals are incomplete.

If a report instead asks for a total of approved reimbursements, add an independent approval status and make the formula check that status explicitly. A row reported as OK by the method audit only means its method is one of the approved labels. It gives no evidence that the reimbursement has been confirmed. Label the control as Method OK when there are other audits nearby. This prevents someone from assuming every OK means the same kind of approval.

Make a change to a displayed label without discarding its history

For another practice copy, place a reporting vocabulary in H2:I5 of the equipment worksheet. Put the labels Booked, Picked up, Collected and Returned in H2 through H5. Put their corresponding categories Reserved, Out, Out and Closed in I2 through I5. Each source spelling should occur once in H. Two different labels can intentionally map to Out. This small example distinguishes the source label and the reporting category instead of silently rewriting it.

Enter =SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(B2,"~","~~"),"*","~*"),"?","~?") in J2 to prepare a literal lookup key. Then enter =IF(B2="","Missing",IFNA(VLOOKUP(J2,$H$2:$I$5,2,FALSE),"Review status")) in K2 and fill both cells through the equipment records. The FALSE argument tells VLOOKUP to use an exact lookup mode, though ordinary Excel lookup comparison does not enforce character case. Use the mapping only for confirmed labels. In this practice copy, Booked is Reserved, Picked up and Collected are Out, Returned is Closed, and an unmapped Needs testing becomes Review status. An empty entry stays Missing. Keep the source row visible so a reader can see what the map did. Add the new policy's category deliberately after the owner confirms it.

The dropdown's source might already say Collected, and a reporting map can still recognise historical Picked up. Try changing just one current worksheet record to Collected in a duplicate and examine the reported category. It stays Out in both cases. That is the intended behavior of this specific map. A source with two identical keys and different suggested categories needs to be reviewed before use, because a simple lookup can return the first match and hide the conflict.

The J2 step matters because the exact lookup mode can still interpret a question mark or asterisk as a wildcard. For example, the text Pick* might match Picked up if you pass it straight into VLOOKUP. A tilde marks the following wildcard as literal. Replace any existing tilde first, then escape the other two characters. Our source map has four ordinary labels, so the original sample outputs do not change. In a practice copy try the input Pick*. The prepared search treats it as those five characters, so it returns Review status for the given map.

A case-insensitive map can intentionally group labels such as Picked up and PICKED UP while a separate audit preserves exact spelling decisions. Have the report owner explain whether variation in case is a cosmetic problem or an identifier problem. The latter needs a case-sensitive lookup or an explicit comparison. Our report groups confirmed meanings, while the earlier audit can still mark unexpected spelling.

Keep the mapping small enough to inspect. One person should be able to read both columns and confirm why two source labels lead to the same category. The table asks for source vocabulary, not a guessed list of all words people might invent. If a new word reaches the report as a review case, first look at the source line. Add a mapping only when its meaning is confirmed.

Test the workbook in the order a new volunteer uses it

Someone joining halfway through the day needs to find the table, read the heading, see the available choices, choose one, and verify the stored result on the right row. Put yourself in that position. Open the workbook on the expected device. Check whether the list item fits, whether the message makes sense and whether your last selection stayed on the intended receipt. A title across the workbook cannot rescue an unclear field name. Use Payment method rather than Pay when people might otherwise mistake it for an amount.

Ask the learner to test one intentionally unlisted word in a copy. If they see a Stop message, have them say what changed in the actual cell after they cancelled. If they see a Warning or no message, have them inspect that cell's rule and the stored result. Then give them one imported mismatch to find through the audit. This tests more than whether they can recognise a dropdown. It checks whether they can guard the report against data that arrived from somewhere else.

In a shared workbook, only authorised editors should add or rename vocabulary. Keep a short note where the options live. For example, Use Out for equipment away from the desk; track any overdue check using the due date field. That saves an editor from adding a separate Out and late value that duplicates more than one fact. If you publish a copied report for someone outside the editing team, keep the rule description and the actual recorded state with the evidence they need to follow up.

Try a different category with the existing Excel Task Hub. Read the problem's source vocabulary before building a menu; each exercise has its own assumptions.

7. Interview questions with useful answers

Why would you use a drop-down on a payment method field?

It offers recognised methods at the moment of entry. The record stores the chosen word so filters, calculations and reports can group it. I would keep approval status in a different field and check older or imported records independently.

What makes an Excel Table useful for a source list?

A Table-backed list can update as actual table rows change. I would add an item, verify it joined the table, and test the actual target menu. Existing records keep their chosen labels until changed intentionally.

What would you check if a newly added option is missing?

Inspect Data Validation Source. The old cell range or name might stop before the new row. Confirm the source definition, then verify the intended target cells. Edit a named source in an edition that supports that action.

How do you handle a spelling change when older records use the original word?

Confirm whether the old and new words represent the same underlying state. Preserve the history and use a documented mapping when possible. If an authorised migration is needed, identify all affected records and verify the before and after counts.

When would you replace a long list with two smaller lists?

When a later choice depends on an earlier category, use a clear dependent design. For example, a chosen lending desk narrows valid collection slots or locations. Check that changing a first choice does not leave a stale second value unnoticed.

8. Predict the worksheet's response

  1. Does opening the column filter create a new value in a payment record?

    Answer and reasoning

    No. The filter changes which rows are visible. Choosing an option in a data-validation cell stores a selected value on that row.

  2. Why does typing Needs testing in F5 leave the choices unchanged under the source F2:F4?

    Answer and reasoning

    The fixed reference ends at F4. Extend it to F5 or build a Table-backed source that grows with the actual list.

  3. You replace Picked up with Collected in the source. What happens to an already recorded Picked up?

    Answer and reasoning

    It stays as entered. Review the existing record and the policy before changing or mapping it. New choices and historical data are separate.

  4. Why does the audit mark lowercase upi for review?

    Answer and reasoning

    The exercise requires the exact canonical spelling UPI. EXACT compares case and spaces. The audit's case requirement is explicit.

  5. Should a cell with no entry in a required method field be counted as Cash?

    Answer and reasoning

    No. A blank tells the editor the method is missing. Confirm it from the receipt or owner before using it as a reported category.

9. Six ideas to remember

  • One field, one question

    Keep payment method, status and merchant separate. The reader can group or filter each fact independently.

  • A choice writes a value

    The in-cell list selects a stored label. A table header filter shows or hides existing records.

  • Inspect Source

    A typed string, fixed range, workbook name and Table each grow differently. Read the definition before editing.

  • New options are not migrations

    Changing available labels does not rewrite old choices. Confirm historical meaning before replacing anything.

  • Check canonical spellings

    Use an audit when exact case, blanks or pasted values matter. A direct entry message is only one control.

  • Repeat the test on the first new row

    Confirm both source growth and destination scope. Test a dropdown the next editor will actually use.

Microsoft references