Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Unknown Formula Error

=IF((OR((ISNUMBER(SEARCH(LEFT(H2,5)&"+",X2))),((IS NUMBER(SEARCH(RIGHT(H2,5)&"+",X2)))),
((ISNUMBER(SEARCH("+"&LEFT(H2,5),X2)))),((ISNUMBER (SEARCH("+"&RIGHT(H2,5),X2)))))),"C2",IF((OR(X2=(L EFT(H2,5))),(X2=(RIGHT(H2,5))),(ISNUMBER(SEARCH(LE FT(H2,5),X2))),(ISNUMBER(SEARCH(RIGHT(H2,5),X2))), (AND(H2="",X2=""))),"C",IF(H2="","FP","FN")))

I am trying to evaluate a very complicated scoring formula, as seen above.

Example:

If cell H2 contains "abc12 def34" and cell X2 contains "abc12+", "def34+",
"+abc12", or "+def34", then Z2=C2

If cell X2 contains "abc12" AND "def34", OR X2 is blank AND H2 is blank,
then Z2=C

If H2 is blank Z2=FP

Else Z2=FN



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Unknown Formula Error

Can you explain *in words* what you're trying to do?

What's the significance of the numbers and the location of the "+" sign?

--
Biff
Microsoft Excel MVP


"Shaunna H." <Shaunna wrote in message
...
=IF((OR((ISNUMBER(SEARCH(LEFT(H2,5)&"+",X2))),((IS NUMBER(SEARCH(RIGHT(H2,5)&"+",X2)))),
((ISNUMBER(SEARCH("+"&LEFT(H2,5),X2)))),((ISNUMBER (SEARCH("+"&RIGHT(H2,5),X2)))))),"C2",IF((OR(X2=(L EFT(H2,5))),(X2=(RIGHT(H2,5))),(ISNUMBER(SEARCH(LE FT(H2,5),X2))),(ISNUMBER(SEARCH(RIGHT(H2,5),X2))), (AND(H2="",X2=""))),"C",IF(H2="","FP","FN")))

I am trying to evaluate a very complicated scoring formula, as seen above.

Example:

If cell H2 contains "abc12 def34" and cell X2 contains "abc12+", "def34+",
"+abc12", or "+def34", then Z2=C2

If cell X2 contains "abc12" AND "def34", OR X2 is blank AND H2 is blank,
then Z2=C

If H2 is blank Z2=FP

Else Z2=FN





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 747
Default Unknown Formula Error

There were a lot of unecessary parentheses, which I removed. There was an
error with the parentheses of the 2nd Or function which I fixed. Otherwise,
the below is the same as what you posted:

=IF(OR(ISNUMBER(SEARCH(LEFT(H2,5)&"+",X2)),ISNUMBE R(SEARCH(RIGHT(H2,5)&"+",X2)),
ISNUMBER(SEARCH("+"&LEFT(H2,5),X2)),ISNUMBER(SEARC H("+"&RIGHT(H2,5),X2))),"C2",IF(OR(X2=LEFT(H2,5),X 2=RIGHT(H2,5),ISNUMBER(SEARCH(LEFT(H2,5),X2)),ISNU MBER(SEARCH(RIGHT(H2,5),X2)),AND(H2="",X2="")),"C" ,IF(H2="","FP","FN")))

Greg

"Shaunna H." wrote:

=IF((OR((ISNUMBER(SEARCH(LEFT(H2,5)&"+",X2))),((IS NUMBER(SEARCH(RIGHT(H2,5)&"+",X2)))),
((ISNUMBER(SEARCH("+"&LEFT(H2,5),X2)))),((ISNUMBER (SEARCH("+"&RIGHT(H2,5),X2)))))),"C2",IF((OR(X2=(L EFT(H2,5))),(X2=(RIGHT(H2,5))),(ISNUMBER(SEARCH(LE FT(H2,5),X2))),(ISNUMBER(SEARCH(RIGHT(H2,5),X2))), (AND(H2="",X2=""))),"C",IF(H2="","FP","FN")))

I am trying to evaluate a very complicated scoring formula, as seen above.

Example:

If cell H2 contains "abc12 def34" and cell X2 contains "abc12+", "def34+",
"+abc12", or "+def34", then Z2=C2

If cell X2 contains "abc12" AND "def34", OR X2 is blank AND H2 is blank,
then Z2=C

If H2 is blank Z2=FP

Else Z2=FN



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
Unknown formula - not in help CrazyEd Excel Worksheet Functions 1 October 25th 07 07:07 PM
unknown #value error nomadwolf Excel Discussion (Misc queries) 0 August 17th 07 02:19 AM
Unknown Formula: R[-1]c/r[4]c[-6] Clare Excel Discussion (Misc queries) 2 April 3rd 07 09:45 PM
Unknown Formula Lucky_guy2000 Excel Discussion (Misc queries) 4 April 28th 06 04:22 PM
Unknown Error aftamath Excel Discussion (Misc queries) 4 October 6th 05 07:08 PM


All times are GMT +1. The time now is 10:38 PM.

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"