A Basic Right(Find formula,

srizki

Well-known Member
Joined
Jan 14, 2003
Messages
1,860
Office Version
  1. 365
Platform
  1. Windows
Hi all,
I need to extract number from the string as follows,
A B
[TABLE="width: 0"]
<tbody>[TR]
[TD][Sold 411045353]
[/TD]
[TD]45353]
[/TD]
[/TR]
[TR]
[TD][Sold 411045353]
[/TD]
[TD]45353]
[/TD]
[/TR]
[TR]
[TD][Sold 411045353]
[/TD]
[TD]45353]
[/TD]
[/TR]
[TR]
[TD]411044924
[/TD]
[TD]411044924
[/TD]
[/TR]
[TR]
[TD]411044978
[/TD]
[TD]411044978
[/TD]
[/TR]
[TR]
[TD]411044920
[/TD]
[TD]411044920
[/TD]
[/TR]
[TR]
[TD]411045039
[/TD]
[TD]411045039
[/TD]
[/TR]
[TR]
[TD][Sold 411045402]
[/TD]
[TD]45402]
[/TD]
[/TR]
[TR]
[TD][Sold 411045379]
[/TD]
[TD]45379]
[/TD]
[/TR]
[TR]
[TD][Sold 411045397]
[/TD]
[TD]45397]
[/TD]
[/TR]
[TR]
[TD][Sold 411045393]
[/TD]
[TD]45393]
[/TD]
[/TR]
[TR]
[TD][Sold 411045378]
[/TD]
[TD]45378]
[/TD]
[/TR]
[TR]
[TD]411044893
[/TD]
[TD]411044893
[/TD]
[/TR]
[TR]
[TD][Sold 411045388]
[/TD]
[TD]45388]
[/TD]
[/TR]
[TR]
[TD]
I am using this basic formula.
'=IFERROR(RIGHT(C922,FIND
(" ",C922)),C922)
That gives me the result on column B. I want the full number, what I am doing wrong?
Thanks
[/TD]
[TD]
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
How about
=TRIM(RIGHT(SUBSTITUTE(SUBSTITUTE(A2," ", REPT(" ",100)),"]",""),100))*1
 
Upvote 0
Thank you Fluff.
It is working, but I am trying to understand/learn what is going on there in the formula.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top