ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Find first period from the right (https://www.excelbanter.com/excel-discussion-misc-queries/213240-find-first-period-right.html)

David P.

Find first period from the right
 
Find first period from the right

How do I do that?
--
David P.

D.

Find first period from the right
 
What happens when you find this said period?

Ron Rosenfeld

Find first period from the right
 
On Wed, 10 Dec 2008 18:44:01 -0800, David P.
wrote:

Find first period from the right

How do I do that?


=FIND(CHAR(1),SUBSTITUTE(A1,".",CHAR(1),LEN(A1)-LEN(SUBSTITUTE(A1,".",""))))

It will return an error if there are no periods in the string; otherwise it
will return the position of the first period from the right (last period).
--ron


All times are GMT +1. The time now is 02:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com