helping creating working formula

lukelim

New Member
Joined
Jul 11, 2019
Messages
8
3RVPCWJroiUXTLwZ7
j9QuAn7YtSeor5-FtnmalIpr-B4MzC1dUx6WgKB2x6ZRZu3uN9dzmP_vOaeaTHMTC7bhEw2rksEA02a4bljmOYw-LDAYwOLGcaCIWmCkDi71Frn_mSh8smI2bYy40mwE-bulfGTc6w=w1920-h1080



Sorry for naive question, but appreciate somebody could helping me. thanks
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
This copied down, ="SKU-"&TEXT(ROW(),"0000")

Or, more like your example,

="SKU-"&TEXT(INT(RIGHT(A1,4))+1,"0000")
 
Last edited:
Upvote 0
Or even easier, Put SKU-0001 to SKU-0003 in cells A1:A3. Select A1:A3, go to the bottom right hand corner of cell A3 and hover until the cursor changes to crosshairs, then click and drag down as far as you need.
 
Upvote 0
This copied down, ="SKU-"&TEXT(ROW(),"0000")
More robust would be
="SKU-"&TEXT(ROWS(A$1:A1),"0000") copied down

That way, if new rows are subsequently added above, the formulas will still start the sequence at 0001
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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