Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Formula for "counting" numbers - bot cells!

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!

Any help would be appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Formula for "counting" numbers - bot cells!

You will always be one off because subtraction does not count the lowest
number. Write a formula like this, assuming that 73267 is in cell B2 and
73356 in B3:

=(B3-B2)+1

"Willyum" wrote in message
...
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!

Any help would be appreciated!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Formula for "counting" numbers - bot cells!

Just add one to your formula.

Imagine you have three tickets, numbered 11 to 13 - if you take the
smallest number away from the largest number you will have 2, so
clearly this is one less than the number of tickets.

Hope this helps.

Pete

On Jan 11, 3:59 pm, 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!

Any help would be appreciated!


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Formula for "counting" numbers - bot cells!

=A2-A1+1

"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!

Any help would be appreciated!

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Formula for "counting" numbers - bot cells!


Unless it is important later to know who sold a particular ticket, just
forget the numbers and just enter the persons name and how many tickets you
gave them......otherwise, it would take a more sophisticated formula to
insure the correct answer for the oddball conditions of a zero in either or
both columns.

Vaya con Dios
Chuck, CABGx3


"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!

Any help would be appreciated!



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Formula for "counting" numbers - bot cells!

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..


"CLR" wrote:


Unless it is important later to know who sold a particular ticket, just
forget the numbers and just enter the persons name and how many tickets you
gave them......otherwise, it would take a more sophisticated formula to
insure the correct answer for the oddball conditions of a zero in either or
both columns.

Vaya con Dios
Chuck, CABGx3


"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!

Any help would be appreciated!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting cells that "contain" a text string Dave Excel Discussion (Misc queries) 2 September 5th 07 05:16 PM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
Formating numbers &"Text" to appear as currency &"Text" in formula Robin K. Excel Discussion (Misc queries) 6 May 7th 07 02:03 PM
Related to "Counting cells..." (post below) jimbob Excel Discussion (Misc queries) 1 July 4th 06 08:23 PM
In excel counting cells in a range which meet condition "Xand<X" Uncivil Servant Excel Worksheet Functions 1 May 19th 06 02:37 PM


All times are GMT +1. The time now is 08:40 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"