View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default Formula for "counting" numbers - not cells!

I'm afraid that's where you are because that's how subtratction works so

a2=a1+1 is your answer but you could do it another way. You have a record of
the tickets issued; you must have or you can't do any calculations, and could
keep them in a table thus

Col a col b col c
col d
Name First ticket Last ticket
Joe Bloggs 1 51
=b3-b2=10
Me 52 88
You 89 1020

as you can see the formula in d2 (=b3-b2) retuens the correct No of tickets
sold for that person. You could then add further columns such as 'tickets
returned' and a simple subtraction returns the amount sold.

It's also easy using a simple lookup on this sorted table to find out who
sold a ticket.
=INDEX(A2:A10,(MATCH(12,B2:B10,1)))
would reveal 'Joe Bloggs' sold ticket 12

Mike

"Willyum" wrote:

I am trying to create a formula that will €ścount€ť a set of given numbers. I
want to hand out numbered raffle tickets and have the ability to track how
many are given to each representative of my group. The issue is the numbers
printed on the tickets are large and each member receives various amounts of
tickets.

Here is an example

I give Rep A ticket numbers 73267 through 73356, which are 90 tickets. If I
use the subtract function €“ it equals 89! I am one off!

Unfortunately, it is complicated. The collective €śThey€ť want to be able to
track the tickets, who sold what tickets, what tickets were not sold,
percentage of tickets sold by a Rep that won and lost€¦. I could go on and
on€¦.

FUN, I know€¦..


Any help would be appreciated!