Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
thigley986
 
Posts: n/a
Default Find Formula Problem


I have a user that is trying to find whether a cell contains a certain
string (example, 2110) and then evaluate whether it does or not on a
True/False basis. This is the formula he is trying to use:

=IF(FIND("1220",B1),TRUE,FALSE)

The problem arises when the FIND function does not find that value. It
returns a #VALUE error, which is unable to be evaluated as true or
false.

Is there a way to do what he'd like to?


--
thigley986
------------------------------------------------------------------------
thigley986's Profile: http://www.excelforum.com/member.php...o&userid=31967
View this thread: http://www.excelforum.com/showthread...hreadid=516927

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kevin Vaughn
 
Posts: n/a
Default Find Formula Problem

This formula seems to work:

=IF(ISNUMBER(FIND(2110,B1)), TRUE, FALSE)

--
Kevin Vaughn


"thigley986" wrote:


I have a user that is trying to find whether a cell contains a certain
string (example, 2110) and then evaluate whether it does or not on a
True/False basis. This is the formula he is trying to use:

=IF(FIND("1220",B1),TRUE,FALSE)

The problem arises when the FIND function does not find that value. It
returns a #VALUE error, which is unable to be evaluated as true or
false.

Is there a way to do what he'd like to?


--
thigley986
------------------------------------------------------------------------
thigley986's Profile: http://www.excelforum.com/member.php...o&userid=31967
View this thread: http://www.excelforum.com/showthread...hreadid=516927


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
thigley986
 
Posts: n/a
Default Find Formula Problem


Thanks, you're a life saver! :)


--
thigley986
------------------------------------------------------------------------
thigley986's Profile: http://www.excelforum.com/member.php...o&userid=31967
View this thread: http://www.excelforum.com/showthread...hreadid=516927

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kevin Vaughn
 
Posts: n/a
Default Find Formula Problem

You're welcome!
--
Kevin Vaughn


"thigley986" wrote:


Thanks, you're a life saver! :)


--
thigley986
------------------------------------------------------------------------
thigley986's Profile: http://www.excelforum.com/member.php...o&userid=31967
View this thread: http://www.excelforum.com/showthread...hreadid=516927


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR
 
Posts: n/a
Default Find Formula Problem

With the search string in A1,
=IF(ISERR(FIND(A1,B1,1)),"String Not Found",IF(FIND(A1,B1,1),"TRUE","FALSE"))

Vaya con Dios,
Chuck, CABGx3


"thigley986" wrote:


I have a user that is trying to find whether a cell contains a certain
string (example, 2110) and then evaluate whether it does or not on a
True/False basis. This is the formula he is trying to use:

=IF(FIND("1220",B1),TRUE,FALSE)

The problem arises when the FIND function does not find that value. It
returns a #VALUE error, which is unable to be evaluated as true or
false.

Is there a way to do what he'd like to?


--
thigley986
------------------------------------------------------------------------
thigley986's Profile: http://www.excelforum.com/member.php...o&userid=31967
View this thread: http://www.excelforum.com/showthread...hreadid=516927




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
conditional formatting: problem entering EOMONTH formula... Jonathan Cooper Excel Discussion (Misc queries) 0 February 6th 06 09:34 PM
conditional formatting: problem entering EOMONTH formula... Jonathan Cooper Excel Discussion (Misc queries) 1 February 6th 06 09:28 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Precision problem with automated formula fill-in Erny Meyer Excel Worksheet Functions 1 February 4th 05 01:22 PM


All times are GMT +1. The time now is 07:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"