A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

'Reverse' Concatenate



 
 
Thread Tools Display Modes
  #1  
Old February 10th, 2010, 11:58 PM posted to microsoft.public.excel.worksheet.functions
msnyc07
external usenet poster
 
Posts: 97
Default 'Reverse' Concatenate

By which I mean removing part of a string.

Basically I want do something like

If Column A Contains String X then Remove Character A from end of Column B
  #2  
Old February 11th, 2010, 12:19 AM posted to microsoft.public.excel.worksheet.functions
Fred Smith[_4_]
external usenet poster
 
Posts: 2,386
Default 'Reverse' Concatenate

These solutions typically involve some combination of Mid and Find
functions. If you need more help, post representative examples of what you
want done.

Regards,
Fred

"msnyc07" wrote in message
news
By which I mean removing part of a string.

Basically I want do something like

If Column A Contains String X then Remove Character A from end of Column B


  #3  
Old February 11th, 2010, 12:26 AM posted to microsoft.public.excel.worksheet.functions
Eva
external usenet poster
 
Posts: 316
Default 'Reverse' Concatenate

you need to show example, but what you need is the following formulas
mid
search
left or
right
Click yes if helped
--
Greatly appreciated
Eva


"msnyc07" wrote:

By which I mean removing part of a string.

Basically I want do something like

If Column A Contains String X then Remove Character A from end of Column B

  #4  
Old February 11th, 2010, 12:31 AM posted to microsoft.public.excel.worksheet.functions
FSt1
external usenet poster
 
Posts: 2,788
Default 'Reverse' Concatenate

hi
a bit vague. from your statement "form the end of column B", this pop in my
mind
=if(A2 = "String x", left(B2,Len(B2)-1),"")
this would remove the last character from column B.

but could you supply and example of string x and data in column B.

Regards
FSt1

"msnyc07" wrote:

By which I mean removing part of a string.

Basically I want do something like

If Column A Contains String X then Remove Character A from end of Column B

  #5  
Old February 11th, 2010, 12:39 AM posted to microsoft.public.excel.worksheet.functions
msnyc07
external usenet poster
 
Posts: 97
Default 'Reverse' Concatenate

Thanks this is what I ended up with after some research online as well,
needed to check for two different conditions in two different columns;

=IF(RIGHT(R5848,1)="I",IF(ISNUMBER(SEARCH(",
Inc",O5848)),LEFT(R5848,LEN(R5848)-1),R5848), R5848)

"FSt1" wrote:

hi
a bit vague. from your statement "form the end of column B", this pop in my
mind
=if(A2 = "String x", left(B2,Len(B2)-1),"")
this would remove the last character from column B.

but could you supply and example of string x and data in column B.

Regards
FSt1

"msnyc07" wrote:

By which I mean removing part of a string.

Basically I want do something like

If Column A Contains String X then Remove Character A from end of Column B

  #6  
Old February 11th, 2010, 01:36 AM posted to microsoft.public.excel.worksheet.functions
FSt1
external usenet poster
 
Posts: 2,788
Default 'Reverse' Concatenate

hi
thanks for the feedback. a bit more complicated that i had originally
thought but if it works, then that the right way. if it don't work, that's
the wrong way.

Regards
FSt1

"msnyc07" wrote:

Thanks this is what I ended up with after some research online as well,
needed to check for two different conditions in two different columns;

=IF(RIGHT(R5848,1)="I",IF(ISNUMBER(SEARCH(",
Inc",O5848)),LEFT(R5848,LEN(R5848)-1),R5848), R5848)

"FSt1" wrote:

hi
a bit vague. from your statement "form the end of column B", this pop in my
mind
=if(A2 = "String x", left(B2,Len(B2)-1),"")
this would remove the last character from column B.

but could you supply and example of string x and data in column B.

Regards
FSt1

"msnyc07" wrote:

By which I mean removing part of a string.

Basically I want do something like

If Column A Contains String X then Remove Character A from end of Column B

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:37 AM.


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