To sum dropdown values in Google Sheets, you need to ensure each dropdown item corresponds to a numeric value and use a formula like SUMIF or ARRAYFORMULA(SUMIF(...)) to map and sum based on selections. No add-ons are required—just proper setup of your data and dropdowns with consistent, unique labels.
What You'll Need
- A Google Sheets spreadsheet with a column of dropdown lists
- Each dropdown must contain text items that are consistent and match labels in a lookup table
- A second column or separate table assigning numeric values to each dropdown option
- Basic familiarity with Google Sheets formulas (e.g.,
SUMIF)
Step-by-Step
- Create your dropdown list: Select the cell(s) where you want the dropdown (e.g., B2:B10). Go to Data > Data validation. Under Criteria, choose List of items and enter your options separated by commas (e.g.,
Low,Medium,High). Click Save. - Assign numeric values to each option: In a hidden or separate part of the sheet (e.g., column D:E), create a two-column lookup table. In column D, list each dropdown option exactly as typed (case-sensitive):
Low,Medium,High. In column E, assign numeric values:1,2,3. Ensure no duplicates and exact spelling matches the dropdown. - Use VLOOKUP to convert selections to numbers: In the cell next to each dropdown (e.g., C2 if your dropdown is in B2), enter:
=VLOOKUP(B2,$D$2:$E$4,2,FALSE). This looks up the selected value in B2 within the range D2:E4 and returns the corresponding number from the second column. Drag this formula down for all rows. - Sum the converted numeric values: Use a simple
SUMon the helper column:=SUM(C2:C10). This gives the total of all dropdown values. - Combine into a single formula (optional, advanced): To avoid helper columns, use
ARRAYFORMULAandVLOOKUPtogether:=SUM(ARRAYFORMULA(VLOOKUP(B2:B10,$D$2:$E$4,2,FALSE))). Enter this in any cell (e.g., C11). Note: This only works if the range B2:B10 has no blank cells—if blanks exist, wrap theVLOOKUPin anIFERRORor useIF(B2:B10="",0,VLOOKUP(...)).
Common Mistakes
- Mismatched text: Dropdown items and lookup table entries must match exactly—including spaces, capitalization, and punctuation. A space after "High" in the dropdown but not in the table breaks the lookup.
- Incorrect range references: Using relative references (e.g.,
D2:E4without dollar signs) when dragging formulas down can shift the lookup table, causing #N/A errors. Always fix the range with$D$2:$E$4. - Blanks in the dropdown range: If any cell in B2:B10 is empty,
VLOOKUPreturns #N/A in the helper column, which breaksSUM. Use=IF(B2="",0,VLOOKUP(...))in the helper column to handle blanks. - Assuming dropdowns store numeric values: Dropdowns in Google Sheets store the text of the selected item, not an underlying number. You must explicitly map text to numbers via lookup.
- Using SUM directly on dropdown cells: Trying
=SUM(B2:B10)will return 0 (or an error) because the cells contain text, not numbers.
Tips
- Use named ranges: Name your lookup table (e.g.,
VALUESfor D2:E4). Then write=VLOOKUP(B2,VALUES,2,FALSE)for cleaner, more readable formulas. - Keep dropdowns consistent: If you need to add an option later (e.g., "Critical"), update both the data validation list and the lookup table—otherwise, new selections won’t convert.
- Color-code lookup tables: Highlight the lookup range (e.g., fill D2:E4 light yellow) so you can quickly verify it’s correct and avoid typos.
- Test with edge cases: Try selecting "Medium" twice and "Low" once—does the sum equal 5? If not, check spelling and range references.
- Use FILTER for conditional sums: If you want the sum only for rows matching a condition (e.g., "High" only), use:
=SUM(FILTER(C2:C10,B2:B10="High")).
Troubleshooting
If your sum returns 0, #N/A, or an unexpected number, follow these checks:
- Verify dropdown selection: Ensure the cell actually contains a dropdown item. Type
=ISTEXT(B2)in a test cell—if it returns FALSE, the cell may be empty or formatted incorrectly. - Check lookup table spelling: Copy the exact text from a dropdown cell (double-click the cell, select the text, copy). Paste it into the lookup table cell to compare. Watch for trailing spaces—use
=TRIM(B2)in a helper to clean input. - Confirm range is absolute: In
VLOOKUP, the range ($D$2:$E$4) must have dollar signs. Remove them and drag the formula down—if the range shifts (e.g., to D3:E5), you’ll get errors. - Handle blanks in the range: If your dropdown range includes empty cells, replace
=VLOOKUP(B2,$D$2:$E$4,2,FALSE)with=IF(B2="",0,VLOOKUP(B2,$D$2:$E$4,2,FALSE)). - Test the VLOOKUP alone: Put
=VLOOKUP("High",$D$2:$E$4,2,FALSE)in a cell. If it returns 3, the table is correct. If #N/A, the value "High" isn’t in D2:D4 exactly.
If all else fails, recreate the dropdown from scratch: delete the data validation, re-enter items with copy-paste from the lookup table to avoid typos.
Frequently Asked Questions
Can I sum dropdowns without a helper column?
Yes, using=SUM(ARRAYFORMULA(VLOOKUP(B2:B10,$D$2:$E$4,2,FALSE))) in one cell. But blanks in B2:B10 will cause #N/A errors—add IFERROR to handle them: =SUM(ARRAYFORMULA(IFERROR(VLOOKUP(B2:B10,$D$2:$E$4,2,FALSE),0))).
Why does my VLOOKUP return #N/A?
This means the lookup value (e.g., "Medium") isn’t found in the first column of your range. Check for extra spaces (use=TRIM), case sensitivity (VLOOKUP is case-insensitive, so "medium" and "Medium" match), and ensure the dropdown list and lookup table match exactly.
Do dropdowns store numbers internally?
No. Google Sheets stores only the text string selected from the list. There’s no hidden numeric ID—so mapping via lookup table is always required for numeric operations.Can I use this with data from Google Forms?
Yes. When forms submit responses, each dropdown choice becomes text in the sheet. Add your lookup table and helper column as usual to sum responses. Just ensure form options and lookup table entries use identical wording.What if I have hundreds of dropdown options?
Use a separate sheet for the lookup table. Reference it with=VLOOKUP(B2,Sheet2!A:B,2,FALSE). For better performance, sort the lookup table and use TRUE for the range_lookup parameter only if values are sorted ascending—but for exact matches, keep it FALSE.
Can I sum based on multiple dropdowns (e.g., Category + Priority)?
Yes. Create a combined key (e.g., in column C:=B2 & "|" & D2) and do the same for your lookup table. Then use VLOOKUP on the concatenated key. Or use SUMIFS with criteria ranges for Category and Priority separately.