Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / June 2007

Tip: Looking for answers? Try searching our database.

Help with Function: Compare text and and edit in cells

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CyranoDeBergarac - 12 Jun 2007 00:53 GMT
Hi,

I need a function that compare text in two cells for a specific text
and if exists make edit the second cell as the first one.

For example my function willl:

1. Look for the text "#" in cell A1.
2. If "#" exists in A1 and there is a letter after it, like "#E", it
will compare it to B1.
3. If the letter after"#" is the same in A1 with B1, it should not do
anything. If the letter after "#" is different in B1 comparing to, it
needs to flag that cell by stating True or False.

Thanks in advance,
Mehmet
Vasant Nanavati - 12 Jun 2007 01:37 GMT
Put the following formula in C1:

=MID(A1,FIND("#",A1)+1,1)=MID(B1,FIND("#",B1)+1,1)

Adjust to suit.

Formulas cannot change cells,; if the formula shows FALSE you will have to
change the cell manually or write a macro to accomplish this.

__________________________________________________________________________

> Hi,
>
[quoted text clipped - 12 lines]
> Thanks in advance,
> Mehmet
CyranoDeBergarac - 12 Jun 2007 15:52 GMT
> Put the following formula in C1:
>
[quoted text clipped - 25 lines]
>
> - Show quotedtext-

Thanks Vasant, that helps.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.