Tracking Ticket Sales & Assigning Ticket #s

BrandykinsGamer

New Member
Joined
Nov 12, 2017
Messages
9
Hello -

I want to create a spreadsheet for a video game 50/50 drawing that I am in charge of weekly.
And I need an easier way to assign the ticket numbers.

So basically tickets are 2K per ticket. But if you buy 5 tickets, you get 1 free.
I want a spreadsheet that has three columns: Name, Amount Rec'd, and Ticket #
But column 3 is going to need to assign the next row of ticket #s based on the previous row's numbers.
So let's say I have three people that buy tickets: Sally, John, and Betty
The rows would need to be displayed as follows:
Row 1: Sally, 10K, 1-6
Row 2: John, 2K, 7
Row 3, Betty, 20K, 8-19

So I need C1 to calculate the # of tickets to assign based on sales from B1.
Then I need C2 to calculate the # of tickets to assign based on sales from B2 but then look at C1 to know which ticket # it should start with next.

Does that make sense? Or is there an easier way to do this?
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Welcome to the Forum,

I expect what you meant was that for every five tickets purchased the buyer will receive a bonus ticket.

ABCDEFGHI
1price2
2bonus hurdle5
3
4tktsbonus tktstotal tktsbegin#end#sequence
5Sally10516161 - 6
6John2101777
7Betty20102128198 - 19

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet41

Worksheet Formulas
CellFormula
G5=IF(E5=1,F5,E5+F5-1)
C5=B5/$B$1
D5=TRUNC(C5/$B$2)
E5=D5+C5
C6=B6/$B$1
D6=TRUNC(C6/$B$2)
E6=D6+C6
C7=B7/$B$1
D7=TRUNC(C7/$B$2)
E7=D7+C7
F6=G5+1
G6=IF(E6=1,F6,E6+F6-1)
F7=G6+1
G7=IF(E7=1,F7,E7+F7-1)
I5=IF(G5=F5,G5,"1 - "&E5)
I6=IF(G6=F6,G6,F6&" - "&G6)
I7=IF(G7=F7,G7,F7&" - "&G7)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,256
Messages
6,123,912
Members
449,132
Latest member
Rosie14

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top