Convert 8 digits to leading alpha plus 6 digits following?

```I finally worked this out (I'm very much a dummy with any type o
formula!)  although I'm sure someone else may have a better solution.
I'll post the IF statement here in case someone else is attempting
similar exercise and they may be able to adapt this. My 8 digit number
appear in Column F and start in Row 2:
=IF(LEFT(F2,1)="1","a"&MID(F2,2,6),IF(LEFT(F2,1)="2","b"&MID(F2,2,6),IF(LEFT(F2,1)="3","c"&MID(F2,2,6),IF(LEFT(F2,1)="4","d"&MID(F2,2,6),IF(LEFT(F2,1)="5","e"&MID(F2,2,6),IF(LEFT(F2,1)="6","f"&MID(F2,2,6),"g"&MID(F2,2,6)))))))

Lee Jeffery :

--
Lee Jeffer
-----------------------------------------------------------------------
Lee Jeffery's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=1088

```
 0
9/21/2004 12:03:46 AM
excel.newusers 15348 articles. 2 followers.

1 Replies
682 Views

Similar Articles

[PageSpeed] 18

```Hi!

Here's a shorter alternative:

=CHOOSE(LEFT(F2,1),"A","B","C","D","E","F","G")&MID(F2,2,6)

Biff

>-----Original Message-----
>
>I finally worked this out (I'm very much a dummy with any
type of
>formula!)  although I'm sure someone else may have a
better solution.
>I'll post the IF statement here in case someone else is
attempting a
>similar exercise and they may be able to adapt this. My 8
digit numbers
>appear in Column F and start in Row 2:
>=IF(LEFT(F2,1)="1","a"&MID(F2,2,6),IF(LEFT(F2,1)
="2","b"&MID(F2,2,6),IF(LEFT(F2,1)="3","c"&MID(F2,2,6),IF
(LEFT(F2,1)="4","d"&MID(F2,2,6),IF(LEFT(F2,1)="5","e"&MID
(F2,2,6),IF(LEFT(F2,1)="6","f"&MID(F2,2,6),"g"&MID
(F2,2,6)))))))
>
>
>Lee Jeffery :)
>
>
>--
>Lee Jeffery
>----------------------------------------------------------
--------------
>Lee Jeffery's Profile:
http://www.excelforum.com/member.php?
action=getinfo&userid=10889
>
>.
>
```
 0
biffinpitt (3172)
9/21/2004 3:25:18 AM

Similar Artilces:

How to Convert UTC to localTIme(C# )
I have got the value of user account's lastlogon time. Its type is Int64. This value is stored as a large integer that represents the number of 100 nanosecond intervals since January 1, 1601 (UTC)(Refer to MSDN). I don't know how to convert this value to localTime. The following is my code. ################################################################ DirectoryEntry deUser = new DirectoryEntry(ldappath); DirectorySearcher src = new DirectorySearcher(deUser); src.Filter = "(&(objectClass=user)(SAMAccountName=" + accountNa...

how to convert date
Hi, I'm looking for some method to convert mail date, in format: eg. "Sun, 18 Sep 2005 20:57:08 +0200", to computer local time. I tried CTime but without resoults. m. Have you tried COleDateTime::ParseDateTime()? m.wski21.usunto@aust.com wrote: > Hi, > > I'm looking for some method to convert mail date, in format: > eg. "Sun, 18 Sep 2005 20:57:08 +0200", to computer local time. > I tried CTime but without resoults. > > m. >I'm looking for some method to convert mail date, in format: >eg. "Sun, 18 Sep 2005 20:57:08 +0200&qu...

Convert text to time value
I have a series of time values in a 'General' format. They are of the type: 184525 Which is 18:45:25 or 6:45:25 pm. A time which is am would be of the type: 12345 Which is 1:23:45 am. Is there a way to convert those 'General' values to an Excel serial so that I can figure out the difference between two times? I've seen a bunch of examples on the net, but none of those that I have found deal with this format that I can tell. Thanks. Hi try =--TEXT(A1,"00:00:00") -- Regards Frank Kabel Frankfurt, Germany "Andy" <amelton@gmail.com> schrieb...

My follow up folder has disappeared after one use.
I'm using Outlook that came in the Office Pro 2003 package. I used the FOLLOW UP search folder in the "Favorites" window... to hold one message... 24 hours later I handled that matter... and took the message away to file in a place where I can find it... the folder also disappeared. Next I tried to replace the folder by creating a new one... now (next day) no follow-up folder. Help is complex -- takes too long (for me) more demos would be helpful. In news:99DC2D96-3646-4C23-9DA3-EED57E8F0CA4@microsoft.com, JEBCOINC <JEBCOINC@discussions.microsoft.com> typed: > ...

MS Money 2007 Deluxe vs Money Plus?
Is their any reason to upgrade? I downloaded the Demo of Plus but it looks just like 2007. I see no reason to drop \$30 bucks. I wish they'd get a feature where I can enter a transaction on the money website and then sync when I get home. I like to enter stuff into my account register just as quickly as I can. One extra year before it turns into a pumpkin. The feature you are looking for was there and was removed. Not clear why it was removed--perhaps not enough people used it? Lots of users did find the very presence of the feature a reason to stay awake at night worrying that Bill...

How do I convert dates to text keeping the format?
I'm trying to convert a column of data in date format *m/d/yyyy to a text format without converting to serial numbers. Ie: I want to retain the mm/dd/yyyy format. Is there a way to do this? =TEXT(A1,"MM/DD"/YYYY") "sprlarry" <sprlarry@discussions.microsoft.com> wrote in message news:69669AA6-FD15-47D7-843D-FC768728BF7A@microsoft.com... > I'm trying to convert a column of data in date format *m/d/yyyy to a text > format without converting to serial numbers. Ie: I want to retain the > mm/dd/yyyy format. Is there a way to do this? That ...

Excel: Auto converting text to numbers
I am downloading an Excel sheet, and the numbers come in as text. It basically comes in as "33 %" but Excel registers this as text, not a percentage. I have a cell that will be used to add the numbers, but since they are text it doesn't work. Given this information, is there a way to convert the imported data into numbers. I would prefer to include this into my formula. The potential numbers are: 0, 1, 2, 3, 4, 0 %, 25 %, 33 %, 50 %, 67 %, 75 %, 100 %, and N/A I would prefer a function, again if possible, that could convert any number. Please note, the space between the nu...

Exchange 5.5 fails to load following IE6 update
I had another client server that exhibited this symptom, but I cannot find anything in the KB about it. A client with a slow internet connection ran the windows updates and the first update was for IE6 that had to be run by itself. Following the installation of the upgrade to IE6, Exchange MTA does not load and no error is given in the event logs to disclose what is causing the failure. Has anyone else come across this issue? Thanks, Allen Not heard of that. What message is displayed in the Services applet if you try to manually start the service? -- Neil Hobson Exchange MVP For Exc...

Convert Access97 to 2000
Hello, we're currently running access97 and would like to convert it to 2000, but we don't know what is the administrator password for this database. Also this database is running on multi user and have difference permission for diffence users. Could someone help me how to do make this happen but keep the currently permission retaint. Thanks ...

me w/CERTIFICATE -Digital ID still blocked.
me add signed/approved CERTIFICATE and it show. me at Windows Mail/Tools/Internet Accounts/(*select account)/Poperties/Security/Signing Certificate/Select/(*Select Certificate)/Encrypting Preferences/Select/???/Select Default Account Digital ID/???(only "Cancel" depresion is available [because no CERTIFICATE DISPLAY]). the Algorithm/3DES. me problem lies at the ??? of the formula. me can-not cee now to aplies ze CERTIFICATE to Email Account Setting. ya\ *=item(s) r available. ty 4 yur replies. \$\$\$ \$\$\$ -- UNIVERSAL RULER; OWNER FEDERAL GOVERNMET; GOD OF UNITED STATES;...

how to convert excel's .cvf file to .csv file
...

MFG 8.0 Error
I recently upgraded from ver 7.5 to 8.0 on our test server, but now I'm getting the error: "A count records operation on table MFGxxxList failed accessing SQL data" whenever I select any of the Manufacturing Lists. xxx represents the specific view e.g. MFGBOMList I think this may be a bug as when I try to view the records of the view MFGBOMList (BOMV1000) I get the same error as when I drill into the details. Has anyone else experienced this error and found solution? A problem has been identified in environments with more languages than en-us installed. This issue ...

Convert 2000 Calendar to web page
Greetings, When I convert my calendar for 2005 to a webpage, the page is off by 1 day. Is there a template or fix available to fix this? Thanks, Duane I can edit the html file but this should not be the case. Fixes? Suggestions...other than use Apple? "Duane Perry" <dlp_sr@yahoo.com> wrote in message news:yZRtd.5561\$0r.1710@newsread1.news.pas.earthlink.net... > Greetings, > > When I convert my calendar for 2005 to a webpage, the page is off by 1 day. > Is there a template or fix available to fix this? > > Thanks, > > Duane > > Duane, ...

outlook express 6 (no pics in outgoing mail)
I have outlook express 6. I used to have no problem sending pictures in email. Recently, they simply won't go. I have checked all the settings, at least the ones I know of, to no avail. I've gone to the HTML setting and set it to "send pictures". I still, however, get only a box with the picture name on all outgoing mail. Incoming has all pictures as they should be and I can send .jpg's as attachments. Nothing included in the body of the mail works. Any help would be greatly appreciated!! "bill a" <anonymous@discussions.microsoft.com> wrote in messa...

IE 8 won't connect to the internet
I had a couple of trojan virus that I removed with my AV software yesterday and IE won't connect to the internet anymore. I've tried reinstalling the software but it didn't fix the error. I'm running IE 8 on XP SP2. The viruses were: trojan.win32.FraudPack.aunu Found in: c:\documents and settings\user\local settings\application data\gcglamgto\wtxaeustssd.exe c:\documents and settings\user\local settings\temp\xhctgo.exe c:\system volume information\_restore{1368902D-6A36-4B35-812D-DDC763090AC0rp16A0019233.exe IE8 with XP SP2? That combo sounds extremely...

XML Note convert to DataSet
Hello, I have this function: object acmResponse = acmLogin.acmString("4001", "", paramFormLogin + paramUserBasics);System.Xml.XmlNode[] acmNodes = (System.Xml.XmlNode[])acmResponse; What I have todo, to convert the XML Object in the DataSet Object? Thank you Matthias ...

Convert
Is it possible to convert a Money file created in the USA version to that of the UK version? Thanks in advance The general way is QIF Export then Import. It's involved and has limitations like loan accounts don't QIF. See http://www.bollar.org/msmoney/#Q1. "Crispy" <nowayspammers@hotmail.com> wrote in message news:uQKSfzfyDHA.2500@TK2MSFTNGP09.phx.gbl... > Is it possible to convert a Money file created in the USA version to that of > the UK version? ...

Problem converting from Quicken to M2005
My Quicken files are mostly investment related, and generally converted fine. However all bonds (regular and muni's) converted as Investment type: Mutual Fund, not Bond. (1) How do I prevent that, (2) How do you change the Investment Type for an item? Thank you. In microsoft.public.money, Mike wrote: >My Quicken files are mostly investment related, and generally >converted fine. However all bonds (regular and muni's) converted as >Investment type: Mutual Fund, not Bond. (1) How do I prevent that, (2) Money typically converts custom data types from Quicken into funds. I thou...

Numbers converting to decimal
I a trying to figure out why when I type 11 and automatically converts it to .11, if I type 11. it will stay 11,if I change all the cells to text then back to number they willstay. I have checked the formatting of the cells, it even happens when I open a brand new worksheet. Any ideas? Thanks Dawn Hi Dawn, Tools>Option>Edit, uncheck Fixed Decimal -- Kind Regards, Niek Otten Microsoft MVP - Excel "DawnP" <anonymous@discussions.microsoft.com> wrote in message news:c3cf01c48a05\$d75359d0\$a501280a@phx.gbl... > I a trying to figure out why when I type 11 and &...

Countif #8
How can I determine how many cells in a range contain at least one of range of possible values? For example suppose each cell contains a lis of colours such as "Red, Blue, Yellow". I can use COUNTIF with "*Red* as the second argument to count the number of cells that contain "Red" But if I want to count the number of cells that contain either or bot of "Red" and "Blue" it seems much harder. How do I do this -- Message posted from http://www.ExcelForum.com One way: =COUNTIF(A1:A10,"*red*")+COUNTIF(A1:A10,"*blue*") -- HTH, ...

Converting Quicken 2004 to Money
Quicken 2004 has many bugs, and I have had it. The most recent being that it doesn't work AT ALL now that it is the year 2004. I have had to change the date on my computer today to open it. I want to get Money instead, however I do not know if Money can get my data from the 2004 version. Does anybody know for sure? Yes is the answer to the question you posed. No is the answer to the question you are getting to but didn't pose. M04 imports Q03 and earlier. If the past predicts the future M05 will import Q04. "Colin" <anonymous@discussions.microsoft.com> wrote ...

Customizing "Convert Campaign Response"
We have created custom Fields in the Campaign Response entity that we would like to populate on the Lead Entity when we do a conversion. However it doesn't seem like this is possible from the Data Map. Is there a way to modify what fields are carried forward during a conversion, or do I need to find a different method? Thank you in advance. Hi, As I had some time left, I tried to figure this one out. To my surprise I can't find ANY direct link between a converted campaign response and a new lead. There is only an indirect link, through the campaign entity. But that does not ...

Converting from AOL to Outlook
Is there an efficient way for me to convert my AOL address book over to Outlook? Before I buy Outlook, I want to be sure I cam make the conversion without loosing the large address book I have on AOL. "Herb Clader" <Herb Clader@discussions.microsoft.com> wrote in message news:44A9739C-A94F-49AB-BF08-31D78A86CCB7@microsoft.com... > Is there an efficient way for me to convert my AOL address book over to > Outlook? > > Before I buy Outlook, I want to be sure I cam make the conversion without > loosing the large address book I have on AOL. AOL's help p...

Convert English language document to Hindi
Is there any software available to convert an English language text document to Hindi language document by using dictionary based translation (not transliteration). For example: The sentence : My name is Joseph Should be converted to : ???? ??? ????? ?? ...

Problem with AFX_THREAD_STATE class converting from VS6.0 to VS.NET 2003