Generate sequential numbered list

WendyHubard

New Member
Joined
Apr 4, 2017
Messages
29
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hello Guru's
Hoping you can help. I work in Law and are our current practice is to hand write Exhibit numbers on to little white sticky dots and attach to evidence photo's. There can be anywhere from 20 to 180 photo's and each set has to be replicated 16 times (14 Jurors plus Judges etc) - this equates to a lot of hand written little white dots. I'm trying to produce an excel list that will then be used as data for msword mail merge. I've attached a sample (using only 5 photo's and 4 sets). The EXHIBIT number is a sequential number and will need to be replicated 16 times before moving onto the next EXHIBIT Start Number (eg EXHIBIT number 643821 - will need to appear 16 times, then increment to 643822- will need to appear 16 times etc... Is this possible using formulas and some input parameters? many thanks in advance.

Merge Field Exhibit NumberHow I want Column A to lookExhibit Start Number
643821​
643821​
Number of Photo's
5​
643821​
Exhibit End Number
643826​
643821​
Number of Sets Required
4​
643821​
643822​
643822​
643822​
643822​
643823​
643823​
643823​
643823​
643824​
643824​
643824​
643824​
643825​
643825​
643825​
643825​
643826​
643826​
643826​
643826​
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Hi, if I've understood correctly, you could try this, that uses the "start number", "end number" and "number of sets cells".

Book1
ABCDE
1Merge Field Exhibit NumberHow I want Column A to lookExhibit Start Number643821
2643821643821Number of Photo's5
3643821643821Exhibit End Number643826
4643821643821Number of Sets Required4
5643821643821
6643822643822
7643822643822
8643822643822
9643822643822
10643823643823
11643823643823
12643823643823
13643823643823
14643824643824
15643824643824
16643824643824
17643824643824
18643825643825
19643825643825
20643825643825
21643825643825
22643826643826
23643826643826
24643826643826
25643826643826
Sheet1
Cell Formulas
RangeFormula
A2:A25A2=E1+INT((SEQUENCE(((E3-E1)+1)*E4)-1)/E4)
Dynamic array formulas.
 
Upvote 1
Solution
Hi, try to keep your replies in the open forum rather than by private message.

For Excel 2016 you could try this, note, you'll need to copy the formula down as far as might be required.

Book1
ABCDE
1Merge Field Exhibit NumberHow I want Column A to lookExhibit Start Number643821
2643821643821Number of Photo's5
3643821643821Exhibit End Number643826
4643821643821Number of Sets Required4
5643821643821
6643822643822
7643822643822
8643822643822
9643822643822
10643823643823
11643823643823
12643823643823
13643823643823
14643824643824
15643824643824
16643824643824
17643824643824
18643825643825
19643825643825
20643825643825
21643825643825
22643826643826
23643826643826
24643826643826
25643826643826
Sheet1
Cell Formulas
RangeFormula
A2:A25A2=IF($E$1+INT((ROWS(A$2:A2)-1)/$E$4)>$E$3,"",$E$1+INT((ROWS(A$2:A2)-1)/$E$4))
 
Upvote 0

Forum statistics

Threads
1,215,433
Messages
6,124,861
Members
449,195
Latest member
MoonDancer

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