Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Increment Text
I am using Excel 97 which contains some data in the following format
"NN000000N". The N's represent Alpha characters and the 0's represent numbers. What I want to do is create a formula that will keep all the N's but increment the numbers by 12. Does anyone know how to do this |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Increment Text
Hi Chris,
For a string in A1: =LEFT(A1,2)&TEXT(MID(A1,3,6)+12,"000000")&RIGHT(A1 ,1) Cheers -- macropod [MVP - Microsoft Word] "Chris waller" wrote in message ... I am using Excel 97 which contains some data in the following format "NN000000N". The N's represent Alpha characters and the 0's represent numbers. What I want to do is create a formula that will keep all the N's but increment the numbers by 12. Does anyone know how to do this |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Increment Text
FAO Macropod
That was brilliant. Thanks for your prompt reply. Chris "macropod" wrote: Hi Chris, For a string in A1: =LEFT(A1,2)&TEXT(MID(A1,3,6)+12,"000000")&RIGHT(A1 ,1) Cheers -- macropod [MVP - Microsoft Word] "Chris waller" wrote in message ... I am using Excel 97 which contains some data in the following format "NN000000N". The N's represent Alpha characters and the 0's represent numbers. What I want to do is create a formula that will keep all the N's but increment the numbers by 12. Does anyone know how to do this |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Text entries behaving like numbers | Excel Discussion (Misc queries) | |||
Aligning Wraped Text to the bottom of a cell | Excel Discussion (Misc queries) | |||
Conversion to Text file format error | Excel Discussion (Misc queries) | |||
How change dimensions of data label text box in pie chart? | Charts and Charting in Excel | |||
Read Text File into Excel Using VBA | Excel Discussion (Misc queries) |