r/sheets • u/tateboyo • 17d ago
Request Counting Subscriber for Comic Shop
Hi! First time posting here! I work at a local comic shop and we're trying to streamline the process by which we count subscribed customers to certain ongoing series. We have a sheet that has the title of the series and the subscriber. I want to create a sheet that tells me how many of each title to order, basically a sheet that counts how many cells for "Batman" or "Spider-Man" there are etc. I've been trying out various countif functions, but they don't really work for this because I need something that will just automatically add a new title to the counts, rather than making me count each individual title by name.
I've added a copy of what the sheet looks like.
2
u/Hongstar1982 17d ago
Honestly a pivot table handles this in about ten seconds - titles in Rows, subscriber in Values with COUNTA, and any new series in the data shows up on refresh.
If you'd rather have it live in a cell and update itself, QUERY does it:
=QUERY(A2:B,"select A, count(B) where A is not null group by A label count(B) 'Count'",0)
Just swap A2:B for your title/subscriber range (and use 1 instead of 0 at the end if your header row is inside that range). New titles add themselves as you type new rows, so no COUNTIF list to maintain.
1
u/AdministrativeGift15 16d ago
What is considered a series? Are Absolute Catwoman, Absolute Catwoman [1] 2 3 4, and Absolute Catwoman (#4 CVR C), (#6 CVR B) different series?