#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ah ah is offline
external usenet poster
 
Posts: 33
Default formula needed

Hi;

Can anyone advice me on how to extract the text value only?
The formula that I'm using currently works well if the text value appears
before the space only:

=(LEFT(INDIRECT("Sheet1!A"&ROW()),FIND(" ",INDIRECT("Sheet1!A"&ROW()))-1))

My requirements are to appear all the text value, and skip the numeric and
symbol.
For example:
a) For ABC - 123, it should appears as ABC to me
b) For ABC DEF -098, it should appears as ABC DEF to me.

Thanks for your help in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default formula needed

=LEFT(A1,FIND("-",A1)-2)


"ah" wrote:

Hi;

Can anyone advice me on how to extract the text value only?
The formula that I'm using currently works well if the text value appears
before the space only:

=(LEFT(INDIRECT("Sheet1!A"&ROW()),FIND(" ",INDIRECT("Sheet1!A"&ROW()))-1))

My requirements are to appear all the text value, and skip the numeric and
symbol.
For example:
a) For ABC - 123, it should appears as ABC to me
b) For ABC DEF -098, it should appears as ABC DEF to me.

Thanks for your help in advance.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default formula needed

Se the answer to your post in the misc. group.

Please don't multi-post!
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"ah" wrote in message
...
Hi;

Can anyone advice me on how to extract the text value only?
The formula that I'm using currently works well if the text value appears
before the space only:

=(LEFT(INDIRECT("Sheet1!A"&ROW()),FIND(" ",INDIRECT("Sheet1!A"&ROW()))-1))

My requirements are to appear all the text value, and skip the numeric and
symbol.
For example:
a) For ABC - 123, it should appears as ABC to me
b) For ABC DEF -098, it should appears as ABC DEF to me.

Thanks for your help in advance.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ah ah is offline
external usenet poster
 
Posts: 33
Default formula needed

Hi ;
Thanks for your prompt response. It's really help after I change the formula
to:

=(LEFT(INDIRECT("Sheet1!E"&ROW()),FIND("-"&"",INDIRECT("Sheet1!E"&ROW()))-2))

But, for those cell that are empty, it will returns a result of an error of:
#VALUE! to me. Is there any way for it to remain empty when the cell that I'm
refering to is empty?

Please advice.

Thanks a lot for your kind assistance.

"Teethless mama" wrote:

=LEFT(A1,FIND("-",A1)-2)


"ah" wrote:

Hi;

Can anyone advice me on how to extract the text value only?
The formula that I'm using currently works well if the text value appears
before the space only:

=(LEFT(INDIRECT("Sheet1!A"&ROW()),FIND(" ",INDIRECT("Sheet1!A"&ROW()))-1))

My requirements are to appear all the text value, and skip the numeric and
symbol.
For example:
a) For ABC - 123, it should appears as ABC to me
b) For ABC DEF -098, it should appears as ABC DEF to me.

Thanks for your help in advance.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default formula needed

=IF(Sheet1!E1="","",your formula)


"ah" wrote:

Hi ;
Thanks for your prompt response. It's really help after I change the formula
to:

=(LEFT(INDIRECT("Sheet1!E"&ROW()),FIND("-"&"",INDIRECT("Sheet1!E"&ROW()))-2))

But, for those cell that are empty, it will returns a result of an error of:
#VALUE! to me. Is there any way for it to remain empty when the cell that I'm
refering to is empty?

Please advice.

Thanks a lot for your kind assistance.

"Teethless mama" wrote:

=LEFT(A1,FIND("-",A1)-2)


"ah" wrote:

Hi;

Can anyone advice me on how to extract the text value only?
The formula that I'm using currently works well if the text value appears
before the space only:

=(LEFT(INDIRECT("Sheet1!A"&ROW()),FIND(" ",INDIRECT("Sheet1!A"&ROW()))-1))

My requirements are to appear all the text value, and skip the numeric and
symbol.
For example:
a) For ABC - 123, it should appears as ABC to me
b) For ABC DEF -098, it should appears as ABC DEF to me.

Thanks for your help in advance.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default formula needed

=IF(INDIRECT("Sheet1!E"&ROW())="","",LEFT(INDIRECT ("Sheet1!E"&ROW()),FIND("-",INDIRECT("Sheet1!E"&ROW()))-2))

Biff

"Teethless mama" wrote in message
...
=IF(Sheet1!E1="","",your formula)


"ah" wrote:

Hi ;
Thanks for your prompt response. It's really help after I change the
formula
to:

=(LEFT(INDIRECT("Sheet1!E"&ROW()),FIND("-"&"",INDIRECT("Sheet1!E"&ROW()))-2))

But, for those cell that are empty, it will returns a result of an error
of:
#VALUE! to me. Is there any way for it to remain empty when the cell that
I'm
refering to is empty?

Please advice.

Thanks a lot for your kind assistance.

"Teethless mama" wrote:

=LEFT(A1,FIND("-",A1)-2)


"ah" wrote:

Hi;

Can anyone advice me on how to extract the text value only?
The formula that I'm using currently works well if the text value
appears
before the space only:

=(LEFT(INDIRECT("Sheet1!A"&ROW()),FIND("
",INDIRECT("Sheet1!A"&ROW()))-1))

My requirements are to appear all the text value, and skip the
numeric and
symbol.
For example:
a) For ABC - 123, it should appears as ABC to me
b) For ABC DEF -098, it should appears as ABC DEF to me.

Thanks for your help in advance.



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ah ah is offline
external usenet poster
 
Posts: 33
Default formula needed

Hi;

I've changed the formula to the following, but the wording of #VALUE! still
appears to me:

=IF("Sheet1!E"&ROW()="
","",(LEFT(INDIRECT("Sheet1!E"&ROW()),FIND("-",INDIRECT("Sheet1!E"&ROW()))-1)))

Can you help me on this? Thanks a lot!


"Teethless mama" wrote:

=LEFT(A1,FIND("-",A1)-2)


"ah" wrote:

Hi;

Can anyone advice me on how to extract the text value only?
The formula that I'm using currently works well if the text value appears
before the space only:

=(LEFT(INDIRECT("Sheet1!A"&ROW()),FIND(" ",INDIRECT("Sheet1!A"&ROW()))-1))

My requirements are to appear all the text value, and skip the numeric and
symbol.
For example:
a) For ABC - 123, it should appears as ABC to me
b) For ABC DEF -098, it should appears as ABC DEF to me.

Thanks for your help in advance.

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ah ah is offline
external usenet poster
 
Posts: 33
Default formula needed

thanks a lot!
It works.

"T. Valko" wrote:

=IF(INDIRECT("Sheet1!E"&ROW())="","",LEFT(INDIRECT ("Sheet1!E"&ROW()),FIND("-",INDIRECT("Sheet1!E"&ROW()))-2))

Biff

"Teethless mama" wrote in message
...
=IF(Sheet1!E1="","",your formula)


"ah" wrote:

Hi ;
Thanks for your prompt response. It's really help after I change the
formula
to:

=(LEFT(INDIRECT("Sheet1!E"&ROW()),FIND("-"&"",INDIRECT("Sheet1!E"&ROW()))-2))

But, for those cell that are empty, it will returns a result of an error
of:
#VALUE! to me. Is there any way for it to remain empty when the cell that
I'm
refering to is empty?

Please advice.

Thanks a lot for your kind assistance.

"Teethless mama" wrote:

=LEFT(A1,FIND("-",A1)-2)


"ah" wrote:

Hi;

Can anyone advice me on how to extract the text value only?
The formula that I'm using currently works well if the text value
appears
before the space only:

=(LEFT(INDIRECT("Sheet1!A"&ROW()),FIND("
",INDIRECT("Sheet1!A"&ROW()))-1))

My requirements are to appear all the text value, and skip the
numeric and
symbol.
For example:
a) For ABC - 123, it should appears as ABC to me
b) For ABC DEF -098, it should appears as ABC DEF to me.

Thanks for your help in advance.




  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default formula needed

You're welcome!

Biff

"ah" wrote in message
...
thanks a lot!
It works.

"T. Valko" wrote:

=IF(INDIRECT("Sheet1!E"&ROW())="","",LEFT(INDIRECT ("Sheet1!E"&ROW()),FIND("-",INDIRECT("Sheet1!E"&ROW()))-2))

Biff

"Teethless mama" wrote in
message
...
=IF(Sheet1!E1="","",your formula)


"ah" wrote:

Hi ;
Thanks for your prompt response. It's really help after I change the
formula
to:

=(LEFT(INDIRECT("Sheet1!E"&ROW()),FIND("-"&"",INDIRECT("Sheet1!E"&ROW()))-2))

But, for those cell that are empty, it will returns a result of an
error
of:
#VALUE! to me. Is there any way for it to remain empty when the cell
that
I'm
refering to is empty?

Please advice.

Thanks a lot for your kind assistance.

"Teethless mama" wrote:

=LEFT(A1,FIND("-",A1)-2)


"ah" wrote:

Hi;

Can anyone advice me on how to extract the text value only?
The formula that I'm using currently works well if the text value
appears
before the space only:

=(LEFT(INDIRECT("Sheet1!A"&ROW()),FIND("
",INDIRECT("Sheet1!A"&ROW()))-1))

My requirements are to appear all the text value, and skip the
numeric and
symbol.
For example:
a) For ABC - 123, it should appears as ABC to me
b) For ABC DEF -098, it should appears as ABC DEF to me.

Thanks for your help in advance.






  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 620
Default formula needed

You've forgotten an INDIRECT.
Try
=IF(INDIRECT("Sheet1!E"&ROW())="","",(LEFT(INDIREC T("Sheet1!E"&ROW()),FIND("-",INDIRECT("Sheet1!E"&ROW()))-1)))
--
David Biddulph

"ah" wrote in message
...
Hi;

I've changed the formula to the following, but the wording of #VALUE!
still
appears to me:

=IF("Sheet1!E"&ROW()="
","",(LEFT(INDIRECT("Sheet1!E"&ROW()),FIND("-",INDIRECT("Sheet1!E"&ROW()))-1)))

Can you help me on this? Thanks a lot!


"Teethless mama" wrote:

=LEFT(A1,FIND("-",A1)-2)


"ah" wrote:

Hi;

Can anyone advice me on how to extract the text value only?
The formula that I'm using currently works well if the text value
appears
before the space only:

=(LEFT(INDIRECT("Sheet1!A"&ROW()),FIND("
",INDIRECT("Sheet1!A"&ROW()))-1))

My requirements are to appear all the text value, and skip the numeric
and
symbol.
For example:
a) For ABC - 123, it should appears as ABC to me
b) For ABC DEF -098, it should appears as ABC DEF to me.

Thanks for your help in advance.



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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
IF-THEN Formula help needed Brandty123 Excel Worksheet Functions 7 July 7th 06 12:05 AM
Formula needed Excel Worksheet Functions 2 November 25th 05 05:07 PM
continuous sum formula needed NN Excel Discussion (Misc queries) 2 November 4th 05 06:49 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM


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