I need a formula to help output some data without manual entry

nlucy2266

New Member
Joined
Oct 19, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I am looking for a formula that will help generate these items. One with dashes in between the letters and the other format all combined. The 3 letter combo is the start of each sequence, followed by a number (up to 90), followed by A-D in order until it goes onto the next number. Any advice would be appreciated and thank you for the help!

NCA-10-ANCA10A
NCA-10-BNCA10B
NCA-10-CNCA10C
NCA-10-DNCA10D
NCA-11-ANCA11A
NCA-11-BNCA11B
NCA-11-CNCA11C
NCA-11-DNCA11D
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
How about
Fluff.xlsm
AB
1
2NCA-10-ANCA10A
3NCA-10-BNCA10B
4NCA-10-CNCA10C
5NCA-10-DNCA10D
6NCA-11-ANCA11A
7NCA-11-BNCA11B
8NCA-11-CNCA11C
9NCA-11-DNCA11D
10NCA-12-ANCA12A
11NCA-12-BNCA12B
12NCA-12-CNCA12C
13NCA-12-DNCA12D
14NCA-13-ANCA13A
15NCA-13-BNCA13B
16NCA-13-CNCA13C
17NCA-13-DNCA13D
18NCA-14-ANCA14A
19NCA-14-BNCA14B
20NCA-14-CNCA14C
21NCA-14-DNCA14D
22NCA-15-ANCA15A
23NCA-15-BNCA15B
24NCA-15-CNCA15C
25NCA-15-DNCA15D
26NCA-16-ANCA16A
27NCA-16-BNCA16B
28NCA-16-CNCA16C
29NCA-16-DNCA16D
30NCA-17-ANCA17A
Sheet5
Cell Formulas
RangeFormula
A2:A325A2="NCA-"&INT(SEQUENCE(81*4,,10,0.25))&"-"&CHAR(MOD(SEQUENCE(81*4,,0),4)+65)
B2:B325B2=SUBSTITUTE(A2#,"-","")
Dynamic array formulas.
 
Upvote 1
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,111
Messages
6,123,159
Members
449,098
Latest member
Doanvanhieu

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