Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 137
Default Removing text in combo with anther FIND function


First and foremost thank you for taking a look at this post. Any help will
be greatly appreciated. I am a novice Excel user trying to learn more about
it and am experimenting with statements and formulas and I have run into a
snag for which I can't get around.

In the following working formula =IF(ISERROR(MID('Raw Data'!A1,FIND(" ",'Raw
Data'!A1)+4,100))," ",MID('Raw Data'!A1,FIND(" ",'Raw Data'!A1)+4,100)) I get
a result of "THIS IS A TEST OF THE EMERGNECY BROADCAST SYSTEM 8PM.P3.IF THIS
WERE AN ACTUAL EMERGENCY ........" for example.

What I am trying to do is add to this formula so I get ""THIS IS A TEST OF
THE EMERGNECY BROADCAST SYSTEM" only . In the text that follows "SYSTEM" the
only value that does not change and will always stay the same is "P3" which I
figure I can use to base my find function only and reemove all characters to
the right of P3 and also 4 characters to the left of P3 and lastly removing
the P3 itself. I have tried combination of TRIM and LEN and hve had no luck.
This is a little over my head!

Thanks once again for looking at this post and providing any help you may be
able to offer.



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CM CM is offline
external usenet poster
 
Posts: 136
Default Removing text in combo with anther FIND function

i got the result this way --- replace the last '100' in your formula with this:

FIND("P3",MID(A1,FIND(" ",A1)+4,100),1)-6


--
hope to help,
cm


"Brenda" wrote:


First and foremost thank you for taking a look at this post. Any help will
be greatly appreciated. I am a novice Excel user trying to learn more about
it and am experimenting with statements and formulas and I have run into a
snag for which I can't get around.

In the following working formula =IF(ISERROR(MID('Raw Data'!A1,FIND(" ",'Raw
Data'!A1)+4,100))," ",MID('Raw Data'!A1,FIND(" ",'Raw Data'!A1)+4,100)) I get
a result of "THIS IS A TEST OF THE EMERGNECY BROADCAST SYSTEM 8PM.P3.IF THIS
WERE AN ACTUAL EMERGENCY ........" for example.

What I am trying to do is add to this formula so I get ""THIS IS A TEST OF
THE EMERGNECY BROADCAST SYSTEM" only . In the text that follows "SYSTEM" the
only value that does not change and will always stay the same is "P3" which I
figure I can use to base my find function only and reemove all characters to
the right of P3 and also 4 characters to the left of P3 and lastly removing
the P3 itself. I have tried combination of TRIM and LEN and hve had no luck.
This is a little over my head!

Thanks once again for looking at this post and providing any help you may be
able to offer.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 137
Default Removing text in combo with anther FIND function


Thanks cm! Looking at this now it makes sense and is clearer. I kinda
thought I was on the right track! This did the trick. Thank you again!

"cm" wrote:

i got the result this way --- replace the last '100' in your formula with this:

FIND("P3",MID(A1,FIND(" ",A1)+4,100),1)-6


--
hope to help,
cm


"Brenda" wrote:


First and foremost thank you for taking a look at this post. Any help will
be greatly appreciated. I am a novice Excel user trying to learn more about
it and am experimenting with statements and formulas and I have run into a
snag for which I can't get around.

In the following working formula =IF(ISERROR(MID('Raw Data'!A1,FIND(" ",'Raw
Data'!A1)+4,100))," ",MID('Raw Data'!A1,FIND(" ",'Raw Data'!A1)+4,100)) I get
a result of "THIS IS A TEST OF THE EMERGNECY BROADCAST SYSTEM 8PM.P3.IF THIS
WERE AN ACTUAL EMERGENCY ........" for example.

What I am trying to do is add to this formula so I get ""THIS IS A TEST OF
THE EMERGNECY BROADCAST SYSTEM" only . In the text that follows "SYSTEM" the
only value that does not change and will always stay the same is "P3" which I
figure I can use to base my find function only and reemove all characters to
the right of P3 and also 4 characters to the left of P3 and lastly removing
the P3 itself. I have tried combination of TRIM and LEN and hve had no luck.
This is a little over my head!

Thanks once again for looking at this post and providing any help you may be
able to offer.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 176
Default Removing text in combo with anther FIND function

=LEFT(A1,LEN(A1)-FIND("P3",A1)+4)

--
Regards,
Dave


"Brenda" wrote:


First and foremost thank you for taking a look at this post. Any help will
be greatly appreciated. I am a novice Excel user trying to learn more about
it and am experimenting with statements and formulas and I have run into a
snag for which I can't get around.

In the following working formula =IF(ISERROR(MID('Raw Data'!A1,FIND(" ",'Raw
Data'!A1)+4,100))," ",MID('Raw Data'!A1,FIND(" ",'Raw Data'!A1)+4,100)) I get
a result of "THIS IS A TEST OF THE EMERGNECY BROADCAST SYSTEM 8PM.P3.IF THIS
WERE AN ACTUAL EMERGENCY ........" for example.

What I am trying to do is add to this formula so I get ""THIS IS A TEST OF
THE EMERGNECY BROADCAST SYSTEM" only . In the text that follows "SYSTEM" the
only value that does not change and will always stay the same is "P3" which I
figure I can use to base my find function only and reemove all characters to
the right of P3 and also 4 characters to the left of P3 and lastly removing
the P3 itself. I have tried combination of TRIM and LEN and hve had no luck.
This is a little over my head!

Thanks once again for looking at this post and providing any help you may be
able to offer.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 137
Default Removing text in combo with anther FIND function


Thanks Dave! I 'll play around with this to make sense out of it and try to
make it work for me. This is a great learning experience!

"David Billigmeier" wrote:

=LEFT(A1,LEN(A1)-FIND("P3",A1)+4)

--
Regards,
Dave


"Brenda" wrote:


First and foremost thank you for taking a look at this post. Any help will
be greatly appreciated. I am a novice Excel user trying to learn more about
it and am experimenting with statements and formulas and I have run into a
snag for which I can't get around.

In the following working formula =IF(ISERROR(MID('Raw Data'!A1,FIND(" ",'Raw
Data'!A1)+4,100))," ",MID('Raw Data'!A1,FIND(" ",'Raw Data'!A1)+4,100)) I get
a result of "THIS IS A TEST OF THE EMERGNECY BROADCAST SYSTEM 8PM.P3.IF THIS
WERE AN ACTUAL EMERGENCY ........" for example.

What I am trying to do is add to this formula so I get ""THIS IS A TEST OF
THE EMERGNECY BROADCAST SYSTEM" only . In the text that follows "SYSTEM" the
only value that does not change and will always stay the same is "P3" which I
figure I can use to base my find function only and reemove all characters to
the right of P3 and also 4 characters to the left of P3 and lastly removing
the P3 itself. I have tried combination of TRIM and LEN and hve had no luck.
This is a little over my head!

Thanks once again for looking at this post and providing any help you may be
able to offer.





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
Find and render text within IF Function David P. Excel Discussion (Misc queries) 3 May 18th 09 09:40 PM
Find text - worksheet function or macro? sebh007 Excel Discussion (Misc queries) 6 January 8th 07 12:53 AM
Need Excel Function to FIND Text - Help! Cole Excel Worksheet Functions 4 July 3rd 06 09:31 PM
Removing records using anther spreadsheet Gopher_By_Fende Excel Discussion (Misc queries) 3 June 13th 06 11:03 AM
Formula to copy rng of cells where (value is met) to anther sheet Exit Advantage Excel Worksheet Functions 3 November 12th 05 02:59 AM


All times are GMT +1. The time now is 06:20 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"