PC Review


Reply
Thread Tools Rate Thread

Checking Data, Help Please

 
 
DaveM
Guest
Posts: n/a
 
      6th Feb 2008
Hi

Sheet1, Column A as Names in the cells as in A1 John Smith, A2 Joe Brown
etc.
In Column T there is the same name in each row, yet the name is in a
Sentence.
How is a good way of checking the cells have the same name in each row.

A1 John Smith - T1 John Smith was out today (could have text here)

A2 Joe Brown - T2 Joe Brown was in today (could have text here)

A3 Albert Jones - T3 New Albert Jones on holiday (could have text here)

Etc

Thanks in advance

All the best

Dave

Thought for the Day:
"There are many ways of going forward, but only one way of standing still."
Franklin D. Roosevelt




 
Reply With Quote
 
 
 
 
Jim Cone
Guest
Posts: n/a
 
      6th Feb 2008

Dim blnThere As Boolean
blnThere = (InStr(1, Range("T1").Value, Range("A1").Value, vbTextCompare) > 0)
MsgBox blnThere
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)




"DaveM"
wrote in message
Hi
Sheet1, Column A as Names in the cells as in A1 John Smith, A2 Joe Brown
etc.
In Column T there is the same name in each row, yet the name is in a
Sentence.
How is a good way of checking the cells have the same name in each row.

A1 John Smith - T1 John Smith was out today (could have text here)

A2 Joe Brown - T2 Joe Brown was in today (could have text here)

A3 Albert Jones - T3 New Albert Jones on holiday (could have text here)

Etc
Thanks in advance
All the best
Dave

Thought for the Day:
"There are many ways of going forward, but only one way of standing still."
Franklin D. Roosevelt




 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Checking row for data Rick Rothstein Microsoft Excel Programming 1 11th Oct 2008 07:58 PM
Checking entered data against exisitng data TonyR Microsoft Excel Programming 1 31st May 2007 07:07 PM
checking data in two rows and change the data accordingly =?Utf-8?B?UHVybmltYSBTaGFybWE=?= Microsoft Access Queries 11 21st Dec 2005 06:10 PM
Checking for duplicate data before entering 'new' data Karen Microsoft Access Form Coding 2 19th Nov 2003 03:51 PM
Re: Data Checking Steve Schapel Microsoft Access Form Coding 2 27th Jul 2003 09:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:16 PM.