ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   IF(ISERROR problem (https://www.excelbanter.com/excel-discussion-misc-queries/231621-if-iserror-problem.html)

Tony S.

IF(ISERROR problem
 
Please help me with my formula to eliminate the "#VALUE"

=FIND("(R(9997 - 9998)",F3)-1

When I try to add =IF(ISERROR to this formula, I alway get a error or
missing parens or formula to short or contains an error. I know it's my
syntax but I can figure out where.

Thanks!


Dave Peterson

IF(ISERROR problem
 
=if(isnumber(find("...",f3)),find("...",f3)-1,"not found")
or
=if(iserror(find("...",f3)),"not found",find("...",f3)-1)



Tony S. wrote:

Please help me with my formula to eliminate the "#VALUE"

=FIND("(R(9997 - 9998)",F3)-1

When I try to add =IF(ISERROR to this formula, I alway get a error or
missing parens or formula to short or contains an error. I know it's my
syntax but I can figure out where.

Thanks!


--

Dave Peterson

Max

IF(ISERROR problem
 
Try:
=IF(ISERROR(FIND("(R(9997 - 9998)",F3)),"",FIND("(R(9997 - 9998)",F3)-1)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:300 Subscribers:70
xdemechanik
---
"Tony S." wrote:
Please help me with my formula to eliminate the "#VALUE"

=FIND("(R(9997 - 9998)",F3)-1

When I try to add =IF(ISERROR to this formula, I alway get a error or
missing parens or formula to short or contains an error. I know it's my
syntax but I can figure out where.

Thanks!


Tony S.[_2_]

IF(ISERROR problem
 
You guys nailed it... Thanks Max and Dave. I appreciate your help.
Tony

"Dave Peterson" wrote:

=if(isnumber(find("...",f3)),find("...",f3)-1,"not found")
or
=if(iserror(find("...",f3)),"not found",find("...",f3)-1)



Tony S. wrote:

Please help me with my formula to eliminate the "#VALUE"

=FIND("(R(9997 - 9998)",F3)-1

When I try to add =IF(ISERROR to this formula, I alway get a error or
missing parens or formula to short or contains an error. I know it's my
syntax but I can figure out where.

Thanks!


--

Dave Peterson



All times are GMT +1. The time now is 03:00 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com