ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Formula for "counting" numbers - bot cells! (https://www.excelbanter.com/excel-worksheet-functions/172692-formula-counting-numbers-bot-cells.html)

Willyum

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!

Richard O. Neville

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!




Pete_UK

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!



Teethless mama

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!


CLR

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!


Willyum

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!



All times are GMT +1. The time now is 06:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com