Skip to Content
GuidesPrice checker in Google Sheets
Open in ChatGPTOpen in ClaudeUpdated November 29, 2026

A price checker in Google Sheets

This guide turns a Google Sheet into a price checker: type an item in column A, and the sheet fills in the sold median, the range, how many sold, your margin at the asking price and a buy or pass signal. It uses the SellerComps add-on’s two formulas, so there is no code to write.

Step 1: install the add-on

Follow sold prices in Google Sheets: paste the script into Extensions > Apps Script, reload the sheet, and set your key with SellerComps > Set API key. The key is kept in the script’s own properties, never in a cell, so you can share the sheet safely.

Step 2: the formulas

FormulaReturns
=SELLERCOMPS_MEDIAN("keyword")The median sold price on eBay US
=SELLERCOMPS_MEDIAN("keyword", "tcgplayer")The median on another marketplace: stockx, mercari, poshmark, grailed, psa…
=SELLERCOMPS_MEDIAN("keyword", "ebay", 50)Over the latest 50 sales
=SELLERCOMPS_SOLD("keyword", "ebay", 20)A table of the latest 20 sales: date, title, price, currency, shipping, total, condition, seller and link

Both leave out lots, parts, empty boxes, accessories and replicas; pass FALSE as the fourth argument to keep them.

Step 3: lay out the sheet

ABCDEF
1ItemMarketplaceAsking priceSold medianMarginSignal
2nintendo switch oledebay180=SELLERCOMPS_MEDIAN(A2, B2)=D2*0.87-C2=IF(E2>25,"BUY","PASS")
3charizard base set 4/102tcgplayer300=SELLERCOMPS_MEDIAN(A3, B3)=D3*0.87-C3=IF(E3>25,"BUY","PASS")
4DZ5485-612stockx150=SELLERCOMPS_MEDIAN(A4, B4)=D4*0.87-C4=IF(E4>25,"BUY","PASS")

0.87 keeps about 13% for marketplace fees; use your own rate, or the free eBay fee calculator to find it. 25 is the smallest profit you want per item.

Step 4: see the sales behind a price

A median over three sales is a guess. Put =SELLERCOMPS_SOLD(A2, B2, 20) on a second tab to see the sales behind row 2, with dates and links, and check the titles match the item.

Step 5: keep it fresh, keep it cheap

  • Each formula cell is one request when it fetches. The add-on keeps each answer for 6 hours, so recalculating or reopening the sheet in that time uses no new requests. A sheet of 50 items is about 50 requests per refresh.
  • Use SellerComps > Requests left this month to check your balance.
  • For hundreds of items, import instead: SellerComps > Import sold listings to a new tab, or run a batch job and paste the CSV.

Ideas

  • Buying at a sale or a card show: one row per item on your phone; the signal column tells you what to pick up.
  • Inventory value: a column of medians times quantities gives you today’s value of your stock.
  • Two marketplaces side by side: the same item with ebay and mercari in column B shows where it sells best.

FAQ

Do the formulas work in Excel?

No, they are Google Sheets formulas. In Excel, download a CSV with format=csv from the API or import a batch job’s CSV. See sold listings.

Why does a cell show an error?

Usually a missing key, no requests left, or an item with no sales. Hover the cell to read the message. A failed call is never counted.

Can I use the 3-year history in Sheets?

Not with a formula. Use the 3-year history guide and paste the result.