Google Sheets Received Function: How to Track Deliveries
In this article
Google Sheets does not have a built-in function named "RECEIVED," but you can achieve this functionality by combining checkboxes with conditional logic formulas like IF, COUNTIF, or SUMIF. This setup allows you to mark an item as received and automatically update your inventory counts, calculate remaining shipments, or change the row color to signal completion. By linking a checkbox (TRUE/FALSE value) to a status formula, you create a dynamic tracking system that updates in real-time as deliveries arrive.
What You'll Need
- A Google account with access to Google Sheets.
- A dataset containing your orders, shipment IDs, or inventory items.
- Basic knowledge of how to select cell ranges.
Step-by-Step
- Set Up Your Data Table: Create a header row to organize your information. For a standard receiving log, use columns such as "Item Name," "Expected Quantity," "Date Ordered," and "Received Status." Ensure each item has its own row so the formulas can target specific cells.
- Insert Checkboxes: Select the empty cells in your "Received Status" column. Go to the top menu and select Insert > Checkbox. This converts the cell into a toggle that represents a Boolean value: when checked, the cell value is TRUE; when unchecked, it is FALSE. Note that menu labels may vary slightly depending on your browser version or region.
- Create a Summary Total for Received Items: To see how many items have arrived, click on a cell where you want the total to appear. Enter the formula
=COUNTIF(D2:D100, TRUE), replacing "D2:D100" with the actual range of your checkbox column. This function scans the range and counts every cell that is checked. - Calculate Remaining Items: To find out what is still pending, use a subtraction formula. If your total expected items are in cell B1 and your received count is in cell E1, enter
=B1-E1. This provides a live countdown of pending deliveries. - Implement a Status Label: If you prefer a text label (like "Pending" or "Received") instead of just a checkbox, use an IF statement. In a new column, enter
=IF(D2=TRUE, "Received", "Pending"). This tells Google Sheets to look at the checkbox in cell D2; if it is checked, it displays "Received"; otherwise, it displays "Pending." - Set Up Conditional Formatting: To make received items visually distinct, select your entire data range. Go to Format > Conditional formatting. Under "Format cells if...", select "Custom formula is" from the dropdown menu. Enter
=$D2=TRUE(assuming column D holds your checkboxes). Choose a fill color, such as light green, and click Done. Now, whenever you check a box, the entire row will change color. - Sum Quantities of Received Goods: If you are tracking quantities rather than just single items, use SUMIF. If Column B contains the quantity and Column D contains the checkbox, use
=SUMIF(D2:D100, TRUE, B2:B100). This adds up the numbers in the quantity column only for the rows that are marked as received.
Common Mistakes
One of the most frequent errors is referencing the wrong cell range in the COUNTIF or SUMIF formulas. If your data grows beyond row 100 but your formula only covers D2:D100, new entries will not be counted. To avoid this, use open-ended ranges like D2:D, which tells Google Sheets to look from row 2 all the way to the bottom of the sheet.
Another common mistake is attempting to use text like "Yes" or "No" inside a cell that has a checkbox. Checkboxes are strictly Boolean (TRUE/FALSE). If you manually type "Yes" into a checkbox cell, it may override the checkbox functionality or cause the formula to return an error because it is looking for a TRUE value, not a text string.
Users also often forget the absolute reference symbol ($) when setting up conditional formatting. If you use =D2=TRUE instead of =$D2=TRUE, the formatting will shift as it moves across the columns, resulting in only the checkbox cell changing color rather than the entire row.
Tips
To keep your sheet clean, use a Filter view. Select your header row and go to Data > Create a filter. You can then filter the "Received Status" column to show only "FALSE" values, allowing you to focus exclusively on the items that have not yet arrived without deleting the rest of your data.
For larger inventories, consider using Data Validation for your item names. Instead of typing the item name manually each time, create a separate list of products and use Insert > Dropdown to ensure consistency. This prevents typos (e.g., "Widget A" vs "Widget_A") from messing up your SUMIF calculations.
If you are collaborating with a team, protect the formula cells. Select the cells containing your totals, right-click, and choose Protect range. This prevents other users from accidentally deleting the formulas while they are checking off received items.
Troubleshooting
If your checkboxes are not triggering the formulas, first check the cell value. Click on a checked cell and look at the formula bar; it should say TRUE. If it says something else, delete the cell content and re-insert the checkbox via the Insert menu.
If your conditional formatting is not applying to the whole row, double-check the custom formula. Ensure there is a dollar sign before the column letter (e.g., =$D2=TRUE). The dollar sign locks the reference to column D, so every cell in the row looks at the checkbox column to determine its color.
If your SUMIF formula is returning 0 despite items being checked, verify that your quantity column contains actual numbers. If the numbers are formatted as text (often indicated by alignment to the left of the cell), the formula cannot add them. Select the quantity column and go to Format > Number > Number to convert them.
If the sheet becomes slow due to thousands of checkboxes and formulas, try reducing the number of conditional formatting rules. Too many complex rules across a massive dataset can cause lag. Instead of formatting every row, consider formatting only the status cell.
Frequently Asked Questions
Can I automate the "Received" date?
Google Sheets formulas cannot automatically timestamp a cell when a checkbox is clicked because formulas recalculate every time the sheet changes. To achieve an automatic date, you would need to use an Apps Script trigger that writes the current date to a cell when a specific column is edited.
Does this work on the Google Sheets mobile app?
Yes, checkboxes are fully functional on both iOS and Android. You can tap the checkbox to toggle it, and the formulas and conditional formatting will update automatically, though you cannot create new conditional formatting rules as easily on mobile as you can on desktop.
How do I count items that are NOT received?
You can use the same COUNTIF function but change the criteria to FALSE. Use the formula =COUNTIF(D2:D, FALSE). This will count every unchecked box in the specified range.
Can I link the received function to another sheet?
Yes, you can reference checkboxes from a different tab using the sheet name. For example, =COUNTIF('Orders'!D2:D, TRUE) will count the checked boxes in column D of a sheet named "Orders" while displaying the total on your summary sheet.
What happens if I delete a row with a checkbox?
Deleting the row will remove that specific data point from your totals. Your COUNTIF and SUMIF formulas will automatically adjust to the new range and update the totals immediately.