Auto populate text into a cell

SirHart

New Member
Joined
Jun 13, 2011
Messages
39
Hello,

I've been pulling my hair out trying to figure out how to make this work and I would certainly appreciate the help. In Excel 2003, I want Excel to automatically place the words "posting date" into a cell everytime the string "xx" is placed in a different cell.

As an example: If cell A13 contains "xx" (no quotations) anywhere in it, I want cell B1 to automatically populate the words "posting date" (no quotations). Is there anyway to do this without doing VBA?

Any help would be perfect!
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Hi There,

This formula will do what you describe:

=IF(ISERROR(FIND("xx",A13,1)), "", "posting date")

Please let me know if you have any further queries.
 
Upvote 0
Right now I'm at home and that formula doesn't work in 2007 excel but I will try it in 2003 tomorrow and let you know how it goes.
 
Upvote 0
dFenton21, that did not work...is there any other solution I can try? I certainly appreciate the effort! I'm clueless on how to do this
 
Last edited:
Upvote 0
=OR(ISNUMBER(SEARCH("xx",(AZ$8))))

This is my current formula. It works for formatting cell color or text, but how do I use it to insert a text string that says "Posting Date" instead?
 
Upvote 0
dfenton's formula works for me in 2003

Excel Workbook
AB
1Here is some random text 
2Here is some random text 
3Here is some random text 
4Here is soxxme random textposting date
5Here is some random text 
6Here is some random text 
7Here is some random text 
8Here is some random xx textposting date
9Here is some random text 
10Here is some random text 
Sheet1
 
Upvote 0
The problem you may have is that Find is Case Sensitive...
It will find xx but not XX or xX or Xx

Just change Find to Search if that is your issue.
 
Upvote 0
case sensitive or not it doesn't appear to be working on Excel for me. Is there anything I am doing wrong here?
help.jpg
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,719
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top