Ticket Entry to Number Assignment

imsleepless

New Member
Joined
Nov 22, 2017
Messages
2
Hello, I was wondering if there is a formula on excel to do what I am trying to do:

Example: Lets say John and Lisa was entered into a draw, John has 10 tickets and Lisa has 5.

[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Ticket Entries[/TD]
[TD]Number[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]10[/TD]
[TD]1-10
[/TD]
[/TR]
[TR]
[TD]Lisa[/TD]
[TD]5[/TD]
[TD]11-15[/TD]
[/TR]
</tbody>[/TABLE]

So my excel would look like this except when it comes to the number assignment I have to type it manually. Is there a function that will automatically update that number after I put the number of entries?

Thanks for your help in advanced.
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Place this in C2:

=SUM($B$1:B1)+1&"-"&SUM($B$1:B2)

Copy down
 
Last edited:
Upvote 0
I would split it up in two columns, one with start number and one with end number.
Copy for formula in row "Lisa" down as far as needed.


[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Tickets[/TD]
[TD]From[/TD]
[TD]To[/TD]
[TD]Output[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]10[/TD]
[TD]1[/TD]
[TD]=B2[/TD]
[TD]=C2&"-"&D2[/TD]
[/TR]
[TR]
[TD]Lisa[/TD]
[TD]5[/TD]
[TD]=D2+1[/TD]
[TD]=D2+B3[/TD]
[TD]=C3&"-"&D3[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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