#### Formula to extract the last word from a cell

Anyone know of a formula that will extract the last word from a cell.

For example if  cell contains the text:  Best available title

How could I produce the result: "title"

(And preferably be able to fill the formula down the column to get the
last word from other cells in the column as well.)

Thanks for any suggestions.
 0
9/10/2008 1:31:26 PM
excel 39879 articles. 2 followers.

3 Replies
1180 Views

Similar Articles

[PageSpeed] 10

=MID(A10,FIND(CHAR(1),SUBSTITUTE(A10," ",CHAR(1),B10))+1,99)

--
__________________________________
HTH

Bob

"Dave K" <fred.sheriff@gmail.com> wrote in message
> Anyone know of a formula that will extract the last word from a cell.
>
> For example if  cell contains the text:  Best available title
>
> How could I produce the result: "title"
>
> (And preferably be able to fill the formula down the column to get the
> last word from other cells in the column as well.)
>
> Thanks for any suggestions.

 0
BobNGs (423)
9/10/2008 1:36:12 PM
=RIGHT(A1,LEN(A1)-LOOKUP(LEN(A1),FIND("
",A1,ROW(INDEX(\$A:\$A,1,1):INDEX(\$A:\$A,LEN(A1),1)))))

--
Gary''s Student - gsnu200803
 0
GarysStudent (1572)
9/10/2008 1:45:01 PM
On Sep 10, 8:45=A0am, Gary''s Student
<GarysStud...@discussions.microsoft.com> wrote:
> =3DRIGHT(A1,LEN(A1)-LOOKUP(LEN(A1),FIND("
> ",A1,ROW(INDEX(\$A:\$A,1,1):INDEX(\$A:\$A,LEN(A1),1)))))
>
> --
> Gary''s Student - gsnu200803

Thanks a million!
 0
9/10/2008 2:16:18 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 ...

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...

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...

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...

Trying to make part of an output in another cell italicized.
Hello all, I have Excel from Office XP and am using it on Windows XP Home Edition I'm working on a program where users enter text in various cells. Fo example: A B 1 Name: ------ 2 Date: ------ Then the text that they enter is displayed in another cell all togethe using the following formula: =\$B\$4&", "&\$B\$5&". "&"("&\$B\$6&"). "&\$B\$7&". "&\$B\$8&" "&\$B\$9&"("&\$B\$10&"), "&\$B\$11&"-"&\$B\$12&"." I'...

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...

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...

Missing Contacts in Word 2002 compared to contacts in Outlook 2002
When I try to print an envelope in Word using the Outlook contacts, those contacts without a fax number or email address don't show up. I need all of them to show up. The address book in Word will show all of your Contacts. How are you invoking the address book? How did you configure it? -- Russ Valentine "Paul Johnson" <user@msgroups.net/> wrote in message news:uKiYg26pKHA.1548@TK2MSFTNGP06.phx.gbl... > When I try to print an envelope in Word using the Outlook contacts, those > contacts without a fax number or email address don't show up. I need all ...

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...

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...

When using the above. When the source cell is empty the target cell has data, how can I get rid, so the target cell is blank until source cell has data You can check first: =if(b99="","",b99) or =if(sheet1!a1="","",sheet1!a1) neilbrown1965 wrote: > > When using the above. When the source cell is empty the target cell has data, > how can I get rid, so the target cell is blank until source cell has data -- Dave Peterson ...

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...

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: > ...

Word Table into Excel
When I copy a row of text (divided into a number of columns) from a wor table and paste in Excel - it copies down all information from acros the columns down into ONE column (col A) instead of across int seperate columns. Is there any way I can copy over details from table in word to cells into Excel without writing VB -- Message posted from http://www.ExcelForum.com you can create a table in Word that is the same size as the excel information that you are trying to move and then simply copy and paste (when pasting make sure that you highlight the entire table though.) >-----Origi...

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...

Can not re-input the same word
Let say in 'A1' I input as "KELVIN", then this word will not allow anymore in anywhere in the same sheet. How to do it? What's the coding in VBA of it? Kelvin, You've asked for VBA, but here's a way without it: 1) Select all the cells of the worksheet except A1. To do this, click A2, then press Ctrl-Shift-DownArrow. Add column B to the selection by Ctrl-clicking the column B header, then press Ctrl-Shift-RightArrow. All the cells except A1 should not be selected, and B1 is the active (white) cell of the selection. 2) Data - Validation. Set the Allow box...

trying to find how to display worksheet name in cell
I'm trying to determine the formula to display the worksheet name. http://contextures.com/xlfaqFun.html#SheetName From Debra Dalgleish's site. Yvonne Barber wrote: > > I'm trying to determine the formula to display the worksheet name. -- Dave Peterson ...

How do you merge cells with multiple data values?
How do you merge cells with multiple data values? Hi basically you can't ... and it's not a good idea to merge cells anyway- they cause problems "down the track" with sorting & filtering & other things. If you want the text from two or more cells in one, you can concatenate it using a formula =A1&" " & B1 will concatenate the contents of A1 and B1 (with a space between) into the cell with the formula you can then copy / edit - paste special, values this formula to turn it into a real value and then you can delete the original fields. But as f...

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...

paste to word
How do I paste from excel to word, witout getting the grid lines? I have tried filling whole sheet with white and when I paste to word, I still get the grid lines. Ross In Word - Table|Hide Gridlines -- Ian -- "Ross" <ssor@twcny.rr.com> wrote in message news:WGzZe.2177\$7b6.328@twister.nyroc.rr.com... > How do I paste from excel to word, witout getting the grid lines? I have > tried filling whole sheet with white and when I paste to word, I still get > the grid lines. > > Ross > Thanks Ian, Boy am I thick. I should have known that :) Ross &...

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...

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 &...

how to add a print tab or button in a cell
I’m wanting to add a print button on to a excel spreadsheet cell, so you click on the cell (which would say PRINT ME) and the document prints out. It’s for a spreadsheet at work. So they don’t have to click on file, print or on the tab at the top of the screen………..Ya I know but the powers that be have asked. I’ve had a look on the net but cant find anything that’ll show me, Can anyone help? You could record a macro when you print what you want manually. Then drag a button from the Froms toolbar onto that worksheet. And assign your recorded macro to that button. SimonJ wrote: > ...