Please see attached.

Looking for a macro to automate a repetitive task.

1. It is to look for a specific text in Column C. In this case, it would be 
the word "GEORGE"
2. Once it encounters the word, Column B would be populated with "X".
3. The "X" would continue to be populated until it column C encounters it's 
second instance of cells containing a letter(s) (not date).
4. At this point, column B would revert back to a blank. 
5. It continues to search and replace as outlined above until ROW 35000 or 
end of file.

Attached shows the resulting output that I am looking for based on a small 
sample that contains two instances of the word "GEORGE".


Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @


1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
You received this message because you are subscribed to the Google Groups "MS 
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Attachment: test0014.xlsm
Description: application/

Reply via email to