Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi, To find the position in the string of last space use =LEN(A1)-LEN(RIGHT(A1,LEN(A1)-SEARCH("@",SUBSTITUTE(A1," ","@",LEN(A1)-LEN(SUBSTITUTE(A1," ","")))))) or if you want the last word =MID(A1,FIND(CHAR(22),SUBSTITUTE(A1," ",CHAR(22),LEN(A1)-LEN(SUBSTITUTE(A1," ",""))))+1,255) Mike "Jimbo213" wrote: I found a Jan 5 2009 post to find the FIRST space from the right using the InStrRev function. I'd like to incorporate this in a cell's formula, not a VBA function. Is that possible? -- Thanks for your reply & assistance. Jimbo213 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find cells with a space at the end | Excel Discussion (Misc queries) | |||
Find last space | Excel Worksheet Functions | |||
Avoiding Value error message due to space in cell w/ formula | Excel Discussion (Misc queries) | |||
Can I find and replace "white space" in a cell in Excel? | Excel Worksheet Functions | |||
Find last space from the right of text | Excel Discussion (Misc queries) |