Auto Fill Number & Letter

Chapis

New Member
Joined
Jan 10, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I need someone to look at my formula and tell me what I'm doing wrong. I would like to auto-fill down a number & letter but only change the letter

example:
1A
1B
1C
& so on.

I originally started with =LEFT(A1,6)&CHAR(CODE(RIGHT(A1,1))+1) but it returns 1AB
for the life of me, I can not figure out how to correct the formula to not repeat the A

Thanks in advance for your help
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
try this:

Excel Formula:
=LEFT(A1,1)&CHAR(CODE(RIGHT(A2,1))+1)
 
Upvote 0
Solution
try this:

Excel Formula:
=LEFT(A1,1)&CHAR(CODE(RIGHT(A2,1))+1)
THANK YOU!

I ended up using =LEFT(A1,1)&CHAR(CODE(RIGHT(A1,1))+1) and realized this 6 [ =LEFT(A1,6)&CHAR(CODE(RIGHT(A1,1))+1) ] in my original formula must have been my problem.

It's the simple things that trip me up. I would not have figured it out on my own, I appreciate your help! 😃
 
Upvote 0
you're welcome, thanks for the feedback.

Rob
 
Upvote 0

Forum statistics

Threads
1,215,078
Messages
6,122,997
Members
449,093
Latest member
masterms

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