Need help on Excel formula to find an occurrence and display numbe
With your sample text
A1: 1Z-31245 Coiled Springs 041,779 0 0 41,779
Try this:
B1: =RIGHT(A1,LEN(A1)-SEARCH(CHAR(7),SUBSTITUTE(A1,"
",CHAR(7),LEN(A1)-LEN(SUBSTITUTE(A1," ","")))))
Is that something you can work with?
***********
Regards,
Ron
XL2002, WinXP
" wrote:
Thanks in advance. I apologize for asking this question
I have a cell with the following in it: 1Z-31245 Coiled Springs 0
41,779 0 0 41,779
I am using the below formula to return 41,779 it searched for the
occurrence of "0 " but I rather use a formula that a) finds the string
length and then b) returns perhaps the last numbers from the end
(including the comma) up to the first space it encounters.
=(TRIM(MID($B$5,FIND("0 ",$B$5,34)+1,12)))
I have a few cells with this type of text in it and the numbers can
vary in length. What they all have in common is a "0 " before them. I
know it is better to search from the end backwards.
Thanks in advance for any help
Sincerely
Patty
|