ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Adding Alphabet (https://www.excelbanter.com/excel-discussion-misc-queries/251498-adding-alphabet.html)

yclhk

Adding Alphabet
 
Is it possible to set a formula to set :
in A1 : 101A
set formula in B1 to get the value 101B
if change the value in A1 to 101B
set formula in B1 to get the value 101C

David Biddulph[_2_]

Adding Alphabet
 
=LEFT(A1,LEN(A1)-1)&CHAR(CODE(RIGHT(A1))+1)
but you haven't said what you want to do when you get to 101Z
--
David Biddulph

"yclhk" wrote in message
...
Is it possible to set a formula to set :
in A1 : 101A
set formula in B1 to get the value 101B
if change the value in A1 to 101B
set formula in B1 to get the value 101C




Mike H

Adding Alphabet
 
Hi,

Try this in B1

=101&CHAR(CODE(RIGHT(A1,1))+1)

Mike

"yclhk" wrote:

Is it possible to set a formula to set :
in A1 : 101A
set formula in B1 to get the value 101B
if change the value in A1 to 101B
set formula in B1 to get the value 101C



All times are GMT +1. The time now is 03:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com