counting numbers in a range

  • Thread starter Thread starter ystrumecki
  • Start date Start date
Y

ystrumecki

Hello Everyone,

This seems like it should be something so simple, but for some reason
I haven't been able to come up with a solution:

I'm counting gift certificates.

Column A has their numbers, some in ranges like cell A1:
(515003-515010) or just single number like cell A2:(515013). I'd like
for Column B to give me the total number of certificates.

Anyone have any ideas?

Thanks!
yv-
 
Assuming 6 digit numbers:

in b1:

=IF(LEN(A3)>6,RIGHT(A3,6)-LEFT(A3,6)+1,1)

Copy down to end of column A list

Total Certificates: =SUM(B:B)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top