Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
schuurke28
 
Posts: n/a
Default is there a instrRev function in excel functions?


the result must be 'B'

other examples:

alphastreet 33
result - 33
block 33B
result -33B
new street 22 C
result -C

In fact i have to have the number of the address, if i can extract the
last space then i could go looking for the last numeric value in the
string. All chars after the numeric value are also part of the
number.
The final result must be:

alphastreet 33
result - 33
block 33B
result -33B
new street 22 C
result -22 C

If i get the solution for the first problem then it should be no
problem for me to get the final solution.


--
schuurke28
------------------------------------------------------------------------
schuurke28's Profile: http://www.excelforum.com/member.php...o&userid=15818
View this thread: http://www.excelforum.com/showthread...hreadid=273124

  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
try the following array formula (entered with cTRL+SHIFT+ENTER):
=MID(A1,MIN(IF(ISNUMBER(-MID(A1,seq,1)),seq)),20)

where seq is a defined name with the referring formula:
seq: =ROW(INDIRECT("1:1024"))

"schuurke28" wrote:


the result must be 'B'

other examples:

alphastreet 33
result - 33
block 33B
result -33B
new street 22 C
result -C

In fact i have to have the number of the address, if i can extract the
last space then i could go looking for the last numeric value in the
string. All chars after the numeric value are also part of the
number.
The final result must be:

alphastreet 33
result - 33
block 33B
result -33B
new street 22 C
result -22 C

If i get the solution for the first problem then it should be no
problem for me to get the final solution.


--
schuurke28
------------------------------------------------------------------------
schuurke28's Profile: http://www.excelforum.com/member.php...o&userid=15818
View this thread: http://www.excelforum.com/showthread...hreadid=273124


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Access Module coded converted to Excel Function Adam Excel Discussion (Misc queries) 1 December 23rd 04 02:48 PM
Excel function help facilities RPS Excel Discussion (Misc queries) 1 December 8th 04 02:36 AM
I cant use englisch function names in a swedich version of excel PE Excel Discussion (Misc queries) 2 December 7th 04 01:00 AM
is there a instrRev function in excel functions? schuurke28 Excel Worksheet Functions 1 October 28th 04 11:25 AM


All times are GMT +1. The time now is 04:36 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"