LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default How to find & delete a particular pattern of text from values

In your original question you were talking of getting rid of FL, FL00 or
FL000, etc.

I see that you've now added extra cases such as "FL:000", "FL 000".

That wasn't what I was answering, so my formula wouldn't work in those
cases.
--
David Biddulph

"Mansa" wrote in message
...
Hi David,Pls find my response below:

What value did you feed into my formula? As I have 59565 records for my
column (A1), I copied your formula in cell A2 and raggedit along entire
column. This is what I copied :
IF(LEFT(A2,2)="FL",--RIGHT(A2,LEN(A2)-2),A2)


What value did you get out of my formula? for records without FL as
prefix, its working perfectly. I mean for eg, for record "50069061", its
correctly giving me "50069061" and for record FL0050069061, its giving
me 50069061. Thats fine, but for record like FL:0050069060, its giving me
error.


What value did you expect to get? As mentioned earlier, I need to remove
any/all occurances of "FL00", "FL000", "FL:000", "FL 000", "FL00", "000"
from records in my column. I'll bet that your formula is doing the trick
and we just need to add few more parameters to accomodate other criterias
like FL:00, FL:000 etc.


Hope this helps!

Thanks,
MAnsa

"David Biddulph" wrote:

I'll try again:

What value did you feed into my formula?
What value did you get out of my formula?
What value did you expect to get?
--
David Biddulph

"Mansa" wrote in message
...
My Bad David, I never meant to challenge your intelligence. Your
formula
is
giving me string having FL00 but I need to replace FL part plus leading
zero
till number '5' from any string which preceds by FL00 or FL0000 etc.
Sorry
If
am not using your formula correctly.

"David Biddulph" wrote:

"it not working" is this week's leader in the "unhelpful description
of a
problem" competition.

What result did my formula give? What result did you expect?
--
David Biddulph

"Mansa" wrote in message
...
Thanks David and Mike for your analysis, but sorry it not working.

I'll again simply my doubt.I have a column which has following
values :

50099532
50099532
50099532
FL0050069061
FL0050069061
FL0050069061
FL0050069061
FL0050069061

I need to remove any occurance of "FL00", "FL000", "FL:000", "FL
000",
"FL
00", "000" from values in above column.

E.g. "FL00050200986" becomes ""50200986" after removal.

Hope this will make my query more clear.

Please extend your help solve this one.

Many thanks again!

Regds,
Mansa

"Mike H" wrote:

Maybe


This assumes the characters after the FL are zeroes

=MID(A1,MIN(FIND({1,2,3,4,5,6,7,8,9},A1&"123456789 ")),LEN(A1))

Mike

"Mansa" wrote:

I have a columns having values like 50200986, FL0050200987,
FL000050200234 etc.
I want to find and remove FL00, FL000 etc and keep only the
values
which are
trimmed of FL, FL00 or FL000 etc.

Please help .

Manish








 
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
query with formula/macro to find text in worksheet and delete it James Excel Worksheet Functions 3 February 8th 08 06:59 AM
find text and delete rows. John Excel Discussion (Misc queries) 5 December 12th 07 04:25 AM
Identifying A Pattern Of Values Meeting Specific Criteria CSHAKES Excel Discussion (Misc queries) 3 June 17th 07 06:55 AM
find cell that contains text and delete entre row Cristi R Excel Discussion (Misc queries) 3 August 2nd 06 04:32 PM
Function to find duplicate values, then delete Cam Excel Worksheet Functions 1 January 27th 06 01:38 AM


All times are GMT +1. The time now is 07:17 PM.

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

About Us

"It's about Microsoft Excel"