Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Looking for specific text Value in cell


Hello.

I'd like to look for a specific character or value within a given cell
that is part of a larger string of data, but I'm having trouble for some
reason.

So for example, if the Cell Value = "Hello123" I want to evaluate if the
Text "3" exists within the cell.

Any help would be greatly appreciated.

Thanks.

Dan


*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Looking for specific text Value in cell

With your text in a1 try

=IF(ISERROR(FIND("3",A1)),"Not There","There")

Mike

which will

"Dan Gesshel" wrote:


Hello.

I'd like to look for a specific character or value within a given cell
that is part of a larger string of data, but I'm having trouble for some
reason.

So for example, if the Cell Value = "Hello123" I want to evaluate if the
Text "3" exists within the cell.

Any help would be greatly appreciated.

Thanks.

Dan


*** Sent via Developersdex http://www.developersdex.com ***

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Looking for specific text Value in cell


Yes, I have tried that and it works well, but I have a whole string of
information I'll need to look for. It makes the formula obnoxiously
long, so I was going to go the VBA route instead...unless I'm setting up
something wrong in the formula.


*** Sent via Developersdex http://www.developersdex.com ***
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
IF a cell contains specific text Christine Excel Discussion (Misc queries) 6 April 23rd 23 07:46 PM
Extracting specific text from another cell. Doug Excel Discussion (Misc queries) 4 July 1st 09 06:05 PM
Row number of cell containing specific text [email protected] Excel Programming 4 January 26th 08 11:44 PM
copy text to specific cell Tattyfur Excel Discussion (Misc queries) 1 January 5th 06 05:21 PM
UDF code to find specific text in cell comments, then average cell values bruch04 Excel Programming 3 December 5th 05 10:01 PM


All times are GMT +1. The time now is 11:07 AM.

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"