Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
dk dk is offline
external usenet poster
 
Posts: 129
Default Remove words

We would like to have a if statement to remove the last word of column a is
the same word appears in column B. even though it does want more than one
word in column a so basically the if statement is going to be if the last
word of column a is the same of column B. delete only the last word in column
a
Thank You
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Remove words

For possibly better answers, post some sample data and the expected results
to illustrate your description.


  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1,533
Default Remove words

Hi

Try this formula in column C:

=IF(RIGHT(A1,LEN(B1))=B1,LEFT(A1,LEN(A1)-LEN(B1)),A1)

Hopes it helps

Regards,
Per

"dk" skrev i meddelelsen
...
We would like to have a if statement to remove the last word of column a
is
the same word appears in column B. even though it does want more than one
word in column a so basically the if statement is going to be if the last
word of column a is the same of column B. delete only the last word in
column
a
Thank You


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
how to convert numeric to words Example 525 in words (Twenty five Ganta Amar Nath Excel Discussion (Misc queries) 2 July 17th 08 10:21 AM
How do I remove the words Page 1 from the body of a worksheet Ron Excel Worksheet Functions 2 June 29th 06 04:28 PM
how do i remove viewing the words Page 1 in the background in an . rglevine12 Excel Discussion (Misc queries) 4 March 21st 06 02:58 AM
Remove spaces between words Heather Tavitian Excel Discussion (Misc queries) 2 October 1st 05 01:47 AM
how do i insert words into a column without erasing the words soccer5585 Excel Discussion (Misc queries) 0 June 8th 05 11:06 PM


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