#### Formula Question #13

```I have a in Col A a list of strings which are either 2 or 3 digit
characters, and I would like to break them apart and put them in the 3

AK
34
89s

AK      A    K
23       2     3
89s     8     9       s

I know that I could use the Left function for the first column, but am
not sure about the other 2 characters if there are 2.

Andrew

```
 0
12/8/2006 7:56:04 PM
excel 39879 articles. 2 followers.

4 Replies
388 Views

Similar Articles

[PageSpeed] 6

```Select your data, then:

<Data> <Text To Columns> <Fixed Width> <Next>

In the "Data Preview" window, click at each character to place a "Break
Line" exactly where you want a new column.
Then <Finish>.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Hittin_Provs" <andrewestein@gmail.com> wrote in message
>I have a in Col A a list of strings which are either 2 or 3 digit
> characters, and I would like to break them apart and put them in the 3
>
>
> AK
> 34
> 89s
>
>
>
> AK      A    K
> 23       2     3
> 89s     8     9       s
>
>
>
> I know that I could use the Left function for the first column, but am
> not sure about the other 2 characters if there are 2.
>
>
> Andrew
>

```
 0
ragdyer1 (4060)
12/8/2006 8:25:33 PM
```I believe this is what you are looking for:

if   "89s" is in "A1"

=left(A1,1) 'Returns 8
=mid(A1,2,1) 'Returns 9
=right(A1,1) 'Returns s

David Miller

> > AK
> > 34
> > 89s
> >
> >
> >
> > AK      A    K
> > 23       2     3
> > 89s     8     9       s

RagDyer wote:
>
> <Data> <Text To Columns> <Fixed Width> <Next>
>
> In the "Data Preview" window, click at each character to place a "Break
> Line" exactly where you want a new column.
> Then <Finish>.
> --
> HTH,
>
> RD
>
> ---------------------------------------------------------------------------
> Please keep all correspondence within the NewsGroup, so all may benefit !
> ---------------------------------------------------------------------------
> "Hittin_Provs" <andrewestein@gmail.com> wrote in message
> >I have a in Col A a list of strings which are either 2 or 3 digit
> > characters, and I would like to break them apart and put them in the 3
> >
> >
> > AK
> > 34
> > 89s
> >
> >
> >
> > AK      A    K
> > 23       2     3
> > 89s     8     9       s
> >
> >
> >
> > I know that I could use the Left function for the first column, but am
> > not sure about the other 2 characters if there are 2.
> >
> >
> > Andrew
> >

```
 0
12/8/2006 8:32:25 PM
```Use RIGHT for the last character and MID for th one in the middle (assuming
there's a maximum for three characters)
For example, in col B you would have =LEFT(A1,1)
In col C, =IF(LEN(A1)=3,MID(A1,2,1),RIGHT(A1,1))
In col D, =IF(LEN(A1)=3,RIGHT(A1,1),"")

"Hittin_Provs" <andrewestein@gmail.com> wrote in message
>I have a in Col A a list of strings which are either 2 or 3 digit
> characters, and I would like to break them apart and put them in the 3
>
>
> AK
> 34
> 89s
>
>
>
> AK      A    K
> 23       2     3
> 89s     8     9       s
>
>
>
> I know that I could use the Left function for the first column, but am
> not sure about the other 2 characters if there are 2.
>
>
> Andrew
>

```
 0
12/8/2006 8:37:49 PM
```Thank you very much.,

On Dec 8, 2:37 pm, "bigwheel" <bigwh...@talktalk.net> wrote:
> Use RIGHT for the last character and MID for th one in the middle (assuming
> there's a maximum for three characters)
> For example, in col B you would have =LEFT(A1,1)
> In col C, =IF(LEN(A1)=3,MID(A1,2,1),RIGHT(A1,1))
> In col D, =IF(LEN(A1)=3,RIGHT(A1,1),"")
>
> "Hittin_Provs" <andrewest...@gmail.com> wrote in messagenews:1165606571.770036.115790@f1g2000cwa.googlegroups.com...
>
>
>
> >I have a in Col A a list of strings which are either 2 or 3 digit
> > characters, and I would like to break them apart and put them in the 3
>
> > AK
> > 34
> > 89s
>
> > AK      A    K
> > 23       2     3
> > 89s     8     9       s
>
> > I know that I could use the Left function for the first column, but am
> > not sure about the other 2 characters if there are 2.
>
>
> > Andrew- Hide quoted text -- Show quoted text -

```
 0
12/8/2006 11:38:00 PM

Similar Artilces:

Can anyone please help with this formula. If Sheet1 Column A = nothing(blank) And Column B = \\\\\\CC\\\\\\ Then Sheet 2 B7 = SumTotal. As a regular formula would be nice or VB code Hi Richard you want nothing at all in the whole of column A in sheet 1? do you want every cell in column B of sheet 1 to have \\\\\\CC\\\\\\ or should this (can this) only appear in one cell? and what range are you summing on sheet 2 in cell B7? Cheers JulieD "Richard" <anonymous@discussions.microsoft.com> wrote in message news:82ce01c477e1\$77f0e740\$a301280a@phx.gbl... > Can anyone please ...

Exchange Folder Question
I on occasion get a eventvwr app message in exchange 2003 sp2 stating "MSExchangeIS Mailbox Store - " Error 0x6bb deleting unused restricted view from folder 1-1121769 on database "StorageGroup2\MailboxStore1"... I'd like to check the folder for it's name (as exchange sees it) Is there any way to look for folder in adsi or otherwise and find folder 1-1121769 and maybe find the friendly name that I would know of? I looked for any information on this - realizing that it is probably not worth worrying about, however i'd like to monitor the folders that may be ...

Appending or Up-dating a formula
I am using an =Ave function in a formula to average quite a few cell values together. I add new information all the time; sometimes 5 or 6 new cells at a time. How can I append or up-date my formula to include these new cells with out have to type the new cells into the formula? When I make the cell that has the formula in it active/edit, all of the cells that are referenced in the formula have a highlight around them. Is there a key or key combination I can press while clicking on the cells I want to add to the formula? Thanks, john Hi see your post in Excel.misc -- Regards Frank ...

Changing a range of an array in a SUMPRODUCT formula gives a #N/A error
I have a working SUMPRODUCT formula {=SUMPRODUCT((\$C\$4:\$C\$4341=z8)*(audittypefm1="Standard"))} that I need to change the 1st array to C5623. When I do I get a #N/A error. I've tried giving the range a name (empnofm2), and I've verified all the data in the C4:C5623 range is formated the same (general, it is all employee numbers from 2 to 5 digits long. I'm using a "trim all" macro which is working great. I am unable to determine what is causing the #N/A and how to fix it. Basically I copied an entire worksheet within the same workbook and changed the name, wh...

Replication 06-13-05
We removed replication and now decied we want it back. I went through the proecedure in Optimizing CRM 1.2 to reinstall replication. Now when I try to take outlook off line I get "The specified Domain Logon Name already exists. You must speficify a unique domain logon name or open the user record that is using this name already" Does anyone now how to deal with this? Thanks, Donnie Hey Donnie, I have seen this in the past and this problem occurred because of a duplicate entry in the SyncEntry table. When you take an account offline, and that same account is later sha...

PivotTable Question - Repost
Hello. I'm using Excel 2000. I've created some pivot tables for reporting purposes. I intend to use them to replace old fashioned charts and tables that are manually keyed summary data. I need to keep the transition to the new spreadsheet as unobtrustive as possible for my less technical users, so that they have the same charts that they're used to. The problem with that is, I need to create seven charts. I want to use the same pivot table (which pulls data from Access) for each chart, but I want each chart to have different categories, page fields, series, etc. ...

help with a formula #5
I have 98 sets of magazines each set has 12 in the set what formula can I use to get a total of issues in all sets have you tried 98*12 -- Don Guillett SalesAid Software dguillett1@austin.rr.com "Just Me" <no@isp.com> wrote in message news:eZ66ZEGHGHA.1192@TK2MSFTNGP11.phx.gbl... >I have 98 sets of magazines each set has 12 in the set > > what formula can I use to get a total of issues in all sets > =98*12 or =A1*A2 if the numbers are in A1 and A2 -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Just Me" <n...

Can offset be used in this formula?
Can the offset be used in the below formula for the information in column "K"? In column L have the the following formula's L46 =MAX(\$I46*1000-\$K\$46*\$J46,0) L47 =MAX(\$I47*1000-\$K\$46*\$J47,0) .... L99 =MAX(\$I99*1000-\$K\$46*\$J99,0) What I'd like to do is to copy the fomula into columns M, N, O, ... M47 =MAX(\$I47*1000-\$K\$47*\$J47,0) M48 =MAX(\$I48*1000-\$K\$47*\$J48,0) M49 =MAX(\$I49*1000-\$K\$47*\$J49,0) .... N48 =MAX(\$I48*1000-\$K\$48*\$J48,0) N49 =MAX(\$I49*1000-\$K\$48*\$J49,0) .... O50 =MAX(\$I50*1000-\$K\$50*\$J50,0) O51 =MAX(\$I51*1000-\$K\$50*\$J51,0) .... How abou...

Given a sibling dialog box, created as follows: sibling_dialog_thread = AfxBeginThread ( RUNTIME_CLASS(sibling_dlg_thread)); In my thread class... BOOL sibling_dlg_thread::InitInstance() { finding_now_dlg finding_now_dialog(); finding_now_dialog.DoModal(); m_pMainWnd = &finding_now_dialog; return FALSE; } What is the proper way to message the other dialog when a button is pressed on the sibling dialog? "nitzsche" <not@aol.net> wrote in message news:uFBxSAAmDHA.1244@TK2MSFTNGP11.phx.gbl... > Given a sibling dialog box, created as follows: > > sibl...

Formula #29
Hi, What formula should I use if I want it to look at a specific cell and then work out the total number between two numbers. e.g. if cell H6 had 7-4 entered the number 9 would be returned. Thanks in advance I'm not sure how you got 9, but your life would be much easier if you used two separate cells and then subtracted the smaller from the larger (and then added one???). Boenerge wrote: > > Hi, > What formula should I use if I want it to look at a specific cell and then > work out the total number between two numbers. > e.g. if cell H6 had 7-4 entered the number 9 woul...

I have a report that must be turned in the night before for tomorrow's date. Is ithere a date formula that will return tomorrow's date to a cell in Excel? One way: =TODAY() + 1 In article <668782AC-774A-475F-9821-8A4C3B14A983@microsoft.com>, "Shadyhosta" <Shadyhosta@discussions.microsoft.com> wrote: > I have a report that must be turned in the night before for tomorrow's date. > Is ithere a date formula that will return tomorrow's date to a cell in Excel? I assume that you want the date to remain static after entry. Easiest way, use 2...

Offline Defrag Questions
I have determined that it is benificial for a offline defrag on my EE2003 SP2. I will be gaining about 45% space across 4 mailbox stores. Currently my disk has about 7gb of free space and my largest MBS is 63gb (combined .edb and .stm) I have other drives on this server so I can use /t switch, but my questions is it really necessary? Or will it defrag it fine without it? Any other switches I should be aware of and/or look at using? I've toyed with the idea of moving mailboxes over to a empty MBS and move that over, but I have determined that is not the way I would like to go. Th...

Weekday formula
Can anyone help with the weekday formula. What I want to do is enter the date in say A1 11/20/2003 and have B return the answer of Thursday. Currently I use the weekday formula bu only returns the number of the day. Thanks in advance B ----------------------------------------------- ~~ Message posted from http://www.ExcelTip.com ~~View and post usenet messages directly from http://www.ExcelForum.com There are several ways to do this. One is to enter =A1 and format the cell with a custom number format of dddd. Another way is to use the function =TEXT(A1,"dddd"). -- Cordiall...

Millionaire at 31 ... on the Internet! Listen to how he is doing it. #13
It�s finally ready! Stephan Ducharme, the "Free Ad Guru" has just released his new 9 steps ! It's what everybody has been waiting for... For weeks now. Thousands of marketers jumped on it in the same day. Don�t wonder why. Stephan Ducharme is now a legend in online marketing. Millionaire at 31 � on the Internet. He went from ground zero to 1 Million hits in weeks. He discovered something hidden and when he released it, he became famous. His top affiliates are making \$5000.00 a week selling his course right now. It sells like hot cakes. Why? Because Stephan Ducharm...

Formula to return a formula
At least I think that's what I'm looking for. here's my situation: I've got a sheet where there is a variable (X) that changes depending on what row it is on. So I have a column (column c) that lists these variables (X is dependant on things from a different sheet). X is a muliplier that is utilized differently depending on the value of N. N is a Picklist selection and can change periodically. Or even be duplicated on more than one row. I have a vlookup that checks the value of N (column a) and needs to return a formula that has X applied if needed on the approp...

Count formula within a named range.
Hi, How do I change the following formula =SUMIF(\$F\$39:\$F\$79,"PW Shopfitters",\$D\$39:\$D\$79)/COUNTIF(\$F\$39:\$F\$79,"PW Shopfitters") to count within a named range (PW Shopfitters). Any help would be great. Cheers, Phil Hi A range name cannot have spaces, maybe that's your problem. Name your range PW_Shopfitters. Then replace your cell references with PW_Shopfitters, eg =Sumif(PW_Shopfitters,"PW Shopfitters",............ -- j.kasselman@atlantic.net.remove_2nd_at. Randburg, Gauteng, South Africa "PW11111" wrote: > > Hi, > &g...

How to use a text formula as code formula
Hello. I have this formula loaded from a text field on a form: val([field10])+val([field20]) and I would like to use this as a code formula. I mean, if I use that in VBA code it works, but If I load from a text field it doesn't work. I need that my form use that formula stored in a text field to calculate values. Regards in advance, Marco responded to in another newsgroup. It's rarely necessary to post the same question to more than one group. If it is necessary, select all the relevant newsgroups in the "To:" or "Newsgroups:" field. That way, folks who...

I have a question, plz look.
I have a question - how to attach picture? I have some nice ones.. - - - I know easy way to 'WIN MONEY' (http://www.cybcity.com/casino1x/) online!!! -- Arthur32 ------------------------------------------------------------------------ Arthur32's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=37677 View this thread: http://www.excelforum.com/showthread.php?threadid=572840 ...

Including a formula in a path name.
Dear MS, How about a new function for this one. I'm sure MANY users have the same problem as me. The research below seems quite comprehensive and has effectively come up against a brick wall. Thanks Peter Harlan Grove posted this UDF: http://www.google.com/groups?selm=hkQVb.2432%24_4.259%40www.newsranger.com Peter wrote: > > Very Helpful Papou - thank you! > Do you know of an additional / alternative method where you achieve the same tihing but are not required to have all the relevant work sheets open? > Many thanks > Peter > > "papou" wrote: > ...

FORMULA #14
What formula in access can do =COUNTIF(CAF!D:D,A3) Basicly I have 2 tables I want the 2nd table to count how many times a number is listed in the 1st table. I am trying to do this with a query and the count expression but keep getting errors. Dont bother with this one guys just figured it out AMDGUY [MCP] wrote: > What formula in access can do > =COUNTIF(CAF!D:D,A3) > > Basicly I have 2 tables > > I want the 2nd table to count how many times a number is listed in the > 1st table. I am trying to do this with a query and the count expression > but keep getting e...

What does the \$ symbol mean in a formula?
What does the \$ symbol mean in a formula? example: =G8*(\$A\$14*2)*100 thanx The \$ is used for absolut referencing. For e.g lets take your formula =G8*(\$A\$14*2)*100 suppose you enter this formula in cell B2, now simply copy this formula one cell to the right (C2) by and one cell down (B3). C2: =H8*(\$A\$14*2)*100 B3: =G9*(\$A\$14*2)*100 So you see that The original G8 has changed, whereas \$A\$1 remains the same in both the new formulae because of the dollar signs. Mangesh "S" <S@discussions.microsoft.com> wrote in message news:D86597A4-C0A1-46AF-9DA6-FE06AB9C1FA0@mi...

formula wording
i dont know if you can do this..... if(c5=10, take the cell 5 right 3 down to it, 0) if you can, i dont know how to write it in excel language thanks if anyone can hel -- cutsygur ----------------------------------------------------------------------- cutsygurl's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=1504 View this thread: http://www.excelforum.com/showthread.php?threadid=27569 cutsygurl Wrote: > i dont know if you can do this..... > if(c5=10, take the cell 5 right 3 down to it, 0) > if you can, i dont know how to write it in excel language &...

Pre-deployment question
I am in the process of setting up a test environment for my exchange 2003 upgrade from 5.5 and I just thought of something major that we do with our current exchange server, and I am curious if anyone else out there has a setup like this: We have mailboxes such as support.whatever@domain.com which forward to a custom hidden SMTP recipient such as support.whatever@anotherdomain.com. We have about 50 of these mailboxes, and these are rather important messages... i did not see anything like this in the deployment guide... maybe i overlooked it, but are these going to be able to easily be moved...

Last Question regarding ITems
I am unclear as to how I should take care of this item... Take for example I order a carton or case of items by I only sell these items by the single item. So in a case there is 36 or 48 or 60 of one item. How Should I enter this into RMS? I want to be able to buy 1 cs and recieve the inventory and have RMS automatically make it so that I have 36, 48 or 60 of them available. parent = case child = individual like items within case search help file for "parent child" "Pr0ject" <Pr0ject@discussions.microsoft.com> wrote in message news:F9E706E8-75B1-4E64-ACCF-72EAE...

Questions on ms dropTarget and vc debuger,need your help
Near days, my vc6 even can't debug CView::function(), or atoi() funcions, pls tell me why. another question, the COle if (!ms_dropTarget.Register((CWnd*)this))//meet error, for the first reason, i don't know what happened. thanks first! -------------------------------------------------------------- ide: vc6.0 with sp6 os: windows 2000 with sp4 debug symbols: windows 2000 debug symbols downloaded from ms web. ...